Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValve,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestCheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValve,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8096/0.8096, allocations: 150.9 MB / 166.5 MB, free: 14.35 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004746, allocations: 18.89 kB / 236.6 MB, free: 2.043 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05057/0.05106, allocations: 31.34 MB / 267.9 MB, free: 7.555 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValve): time 1.629/1.681, allocations: 301.2 MB / 0.5558 GB, free: 7.012 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.465/2.146, allocations: 196.9 MB / 0.7482 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/2.147, allocations: 32.53 kB / 0.7482 GB, free: 1.711 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StaticCentrifugalPump.mo:63:3-64:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StaticCentrifugalPump.mo:65:3-66:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StaticCentrifugalPump.mo:63:3-64:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StaticCentrifugalPump.mo:65:3-66:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/VolumeD.mo:104:3-105:67:writable] Warning: Connector Ce is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/VolumeD.mo:106:3-107:73:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/VolumeD.mo:108:3-109:75:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/VolumeD.mo:110:3-111:71:writable] Warning: Connector Cs3 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/CheckValve.mo:37:3-38:68:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/CheckValve.mo:39:3-40:66:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/CheckValve.mo:37:3-38:68:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/CheckValve.mo:39:3-40:66:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/VolumeC.mo:103:3-105:59:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/VolumeC.mo:106:3-108:57:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/VolumeC.mo:109:3-110:65:writable] Warning: Connector Cs is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Volumes/VolumeC.mo:111:3-113:24:writable] Warning: Connector Ce3 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/LumpedStraightPipe.mo:54:3-55:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/LumpedStraightPipe.mo:56:3-57:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/LumpedStraightPipe.mo:54:3-55:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/LumpedStraightPipe.mo:56:3-57:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/CheckValve.mo:37:3-38:68:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/CheckValve.mo:39:3-40:66:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0006097/2.147, allocations: 255.3 kB / 0.7484 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001456/2.149, allocations: 0.6714 MB / 0.7491 GB, free: 1.707 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.03327/2.182, allocations: 14.26 MB / 0.763 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002961/2.185, allocations: 2.696 MB / 0.7657 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/2.187, allocations: 1.36 MB / 0.767 GB, free: 17.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/2.188, allocations: 1.037 MB / 0.768 GB, free: 17.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001301/2.19, allocations: 1.162 MB / 0.7691 GB, free: 17.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003466/2.19, allocations: 244 kB / 0.7694 GB, free: 17.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03824/2.228, allocations: 22.64 MB / 0.7915 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009312/2.229, allocations: 0.5472 MB / 0.792 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001737/2.231, allocations: 1.225 MB / 0.7932 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.03034/2.261, allocations: 13.51 MB / 0.8064 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/2.261, allocations: 6.562 kB / 0.8064 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/2.261, allocations: 3.938 kB / 0.8064 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.74e-05/2.261, allocations: 0.7188 kB / 0.8064 GB, free: 1.781 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 575 * Number of variables: 575 Notification: Performance of Generate backend data structure: time 0.009299/2.271, allocations: 4.068 MB / 0.8104 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/2.271, allocations: 12.03 kB / 0.8104 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003431/2.271, allocations: 313.8 kB / 0.8107 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004384/2.271, allocations: 282.4 kB / 0.811 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/2.273, allocations: 1.027 MB / 0.812 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002018/2.273, allocations: 252.2 kB / 0.8122 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003682/2.274, allocations: 235.4 kB / 0.8124 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003769/2.277, allocations: 2.404 MB / 0.8148 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.565e-05/2.277, allocations: 9.062 kB / 0.8148 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001748/2.278, allocations: 95.98 kB / 0.8149 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.637e-05/2.278, allocations: 61 kB / 0.8149 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003404/2.281, allocations: 1.867 MB / 0.8168 GB, free: 7.004 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02672/2.308, allocations: 22.28 MB / 0.8385 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002084/2.31, allocations: 1.189 MB / 0.8397 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00095/2.311, allocations: 490.9 kB / 0.8401 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7555/3.066, allocations: 294.4 MB / 1.128 GB, free: 336.9 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/3.068, allocations: 0.5932 MB / 1.128 GB, free: 336.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=104): time 3.587e-06/3.068, allocations: 0 / 1.128 GB, free: 336.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=104): time 0.01417/3.082, allocations: 3.53 MB / 1.132 GB, free: 333.4 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/3.082, allocations: 251.4 kB / 1.132 GB, free: 333.1 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/3.083, allocations: 1.241 MB / 1.133 GB, free: 332.2 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.732e-05/3.083, allocations: 49 kB / 1.133 GB, free: 332.2 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005263/3.084, allocations: 1.056 MB / 1.134 GB, free: 331.6 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/3.084, allocations: 379.6 kB / 1.135 GB, free: 331.3 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004428/3.085, allocations: 415.6 kB / 1.135 GB, free: 331 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 3.597e-05/3.085, allocations: 305.1 kB / 1.135 GB, free: 330.7 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007558/3.085, allocations: 439 kB / 1.136 GB, free: 330.4 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000985/3.086, allocations: 1.263 MB / 1.137 GB, free: 329 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002809/3.089, allocations: 2.006 MB / 1.139 GB, free: 327.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.757e-05/3.089, allocations: 8 kB / 1.139 GB, free: 327.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.003632/3.093, allocations: 2.18 MB / 1.141 GB, free: 325.7 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/3.093, allocations: 16 kB / 1.141 GB, free: 325.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-05/3.093, allocations: 35.27 kB / 1.141 GB, free: 325.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004503/3.097, allocations: 1.059 MB / 1.142 GB, free: 324.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007759/3.098, allocations: 294.1 kB / 1.142 GB, free: 324.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/3.1, allocations: 1.916 MB / 1.144 GB, free: 322.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/3.101, allocations: 246.2 kB / 1.144 GB, free: 322.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/3.102, allocations: 103.7 kB / 1.145 GB, free: 322.5 MB / 0.8262 GB Warning: Assuming fixed start value for the following 1 variables: pulse.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 126 * Number of states: 0 () * Number of discrete variables: 69 ($PRE.checkValve1.touvert,$whenCondition7,$PRE.checkValve1.tferme,$whenCondition6,$PRE.checkValve2.touvert,$whenCondition5,$PRE.checkValve2.tferme,$whenCondition4,$PRE.checkValve3.touvert,$whenCondition3,$PRE.checkValve3.tferme,$whenCondition2,$whenCondition1,volumeC.Cs.ftype,sourceP.C.ftype,volumeC.Ce1.ftype,volumeD.Cs2.ftype,volumeD.Cs1.ftype,volumeC.fluids[1],volumeD.Cs3.ftype,volumeD.fluids[1],puitsP.fluid,staticCentrifugalPump1.fluid,staticCentrifugalPump2.fluid,checkValve1.fluid,checkValve2.fluid,perteDP.fluid,perteDP1.fluid,checkValve2.tferme,checkValve2.touvert,checkValve2.ouvert,$PRE.checkValve2.ouvert,checkValve1.tferme,checkValve1.touvert,checkValve1.ouvert,$PRE.checkValve1.ouvert,sourceP1.C.ftype,$PRE.pulse.T0,puitsP1.fluid,checkValve3.fluid,checkValve3.tferme,checkValve3.touvert,checkValve3.ouvert,$PRE.checkValve3.ouvert,pulse.T0,sourceP1.fluid1,volumeC.fluid1,volumeD.fluid1,sourceP.fluid1,sourceP1.C.diff_on_2,checkValve3.C2.diff_on_1,volumeC.Cs.diff_on_1,volumeD.Ce.diff_on_2,volumeC.Ce3.diff_on_2,staticCentrifugalPump2.C2.diff_on_2,volumeD.Cs2.diff_on_2,volumeC.Ce2.diff_on_2,staticCentrifugalPump1.C2.diff_on_2,volumeD.Cs1.diff_on_2,volumeC.Ce1.diff_on_2,volumeC.Ce1.diff_on_1,volumeD.Cs2.diff_on_1,staticCentrifugalPump2.C2.diff_on_1,checkValve2.C2.diff_on_1,volumeD.Cs1.diff_on_1,staticCentrifugalPump1.C2.diff_on_1,checkValve1.C2.diff_on_1,volumeD.Cs3.diff_on_1,volumeD.Cs3.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(10,40), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006868/3.102, allocations: 437.3 kB / 1.145 GB, free: 322.3 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002362/3.102, allocations: 167 kB / 1.145 GB, free: 322.1 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/3.105, allocations: 1.358 MB / 1.146 GB, free: 321.1 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/3.105, allocations: 16.84 kB / 1.147 GB, free: 321.1 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/3.105, allocations: 0 / 1.147 GB, free: 321.1 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/3.105, allocations: 11.97 kB / 1.147 GB, free: 321.1 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003781/3.109, allocations: 3.128 MB / 1.15 GB, free: 318.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/3.109, allocations: 0 / 1.15 GB, free: 318.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/3.109, allocations: 90.33 kB / 1.15 GB, free: 318.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003602/3.113, allocations: 0.8455 MB / 1.15 GB, free: 317.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/3.113, allocations: 27.98 kB / 1.151 GB, free: 317.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/3.115, allocations: 1.765 MB / 1.152 GB, free: 315.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/3.115, allocations: 4.547 kB / 1.152 GB, free: 315.4 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/3.117, allocations: 1.739 MB / 1.154 GB, free: 313.7 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004368/3.118, allocations: 337.6 kB / 1.154 GB, free: 313.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/3.118, allocations: 20 kB / 1.154 GB, free: 313.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005939/3.118, allocations: 51.95 kB / 1.154 GB, free: 313.3 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/3.119, allocations: 80.83 kB / 1.154 GB, free: 313.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.298e-05/3.119, allocations: 40.55 kB / 1.154 GB, free: 313.1 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008015/3.119, allocations: 0.7549 MB / 1.155 GB, free: 312.4 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.172e-06/3.119, allocations: 0 / 1.155 GB, free: 312.4 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.005008/3.124, allocations: 2.269 MB / 1.157 GB, free: 310.5 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (volumeD.h,volumeC.h) * Number of discrete variables: 17 ($whenCondition3,$whenCondition2,$whenCondition1,pulse.T0,checkValve3.ouvert,checkValve3.touvert,checkValve3.tferme,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,checkValve1.ouvert,checkValve1.touvert,checkValve1.tferme,checkValve2.ouvert,checkValve2.touvert,checkValve2.tferme) * Number of discrete states: 6 (checkValve1.touvert,checkValve1.tferme,checkValve2.touvert,checkValve2.tferme,checkValve3.touvert,checkValve3.tferme) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (8,37)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01087/3.135, allocations: 5.084 MB / 1.162 GB, free: 305.7 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002591/3.138, allocations: 1.315 MB / 1.164 GB, free: 304.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/3.138, allocations: 0 / 1.164 GB, free: 304.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/3.139, allocations: 0.5422 MB / 1.164 GB, free: 304 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/3.141, allocations: 337.2 kB / 1.164 GB, free: 303.7 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01869/3.159, allocations: 13.32 MB / 1.178 GB, free: 289.6 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007048/3.16, allocations: 1.324 MB / 1.179 GB, free: 288.2 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0007254/3.161, allocations: 247.5 kB / 1.179 GB, free: 288 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006141/3.161, allocations: 0.718 MB / 1.18 GB, free: 287.3 MB / 0.8262 GB Notification: Performance of SimCode: time 7.31e-07/3.162, allocations: 0 / 1.18 GB, free: 287.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1088/3.27, allocations: 85.38 MB / 1.263 GB, free: 203.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.11/20.38, allocations: 5.234 kB / 1.263 GB, free: 203.3 MB / 0.8262 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValve.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValve.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValve.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValve.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValve_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestCheckValve.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValve.pipe 2>&1)