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.8938/0.8938, allocations: 150.9 MB / 166.4 MB, free: 14.19 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000454/0.0004544, allocations: 19.97 kB / 204.6 MB, free: 9.512 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1929, allocations: 31.33 MB / 236 MB, free: 5.426 MB / 190.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.759/1.952, allocations: 300.7 MB / 0.5241 GB, free: 7.352 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6493/2.601, allocations: 196.9 MB / 0.7164 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001857/2.603, allocations: 31.5 kB / 0.7164 GB, free: 2.098 MB / 0.5762 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.000709/2.603, allocations: 257 kB / 0.7167 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002024/2.606, allocations: 0.6732 MB / 0.7173 GB, free: 2.098 MB / 0.5762 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.04319/2.649, allocations: 14.26 MB / 0.7312 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004548/2.653, allocations: 2.683 MB / 0.7339 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002012/2.655, allocations: 1.355 MB / 0.7352 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/2.657, allocations: 1.032 MB / 0.7362 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/2.658, allocations: 1.165 MB / 0.7373 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003134/2.659, allocations: 244.5 kB / 0.7376 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05026/2.709, allocations: 22.4 MB / 0.7594 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001839/2.711, allocations: 0.5482 MB / 0.76 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004233/2.715, allocations: 1.222 MB / 0.7612 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.06525/2.781, allocations: 13.46 MB / 0.7743 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.234e-05/2.781, allocations: 0.9688 kB / 0.7743 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.737e-06/2.781, allocations: 0 / 0.7743 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002564/2.781, allocations: 0 / 0.7743 GB, free: 9.086 MB / 0.5919 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.01964/2.801, allocations: 3.938 MB / 0.7782 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.304e-05/2.801, allocations: 8.031 kB / 0.7782 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005188/2.801, allocations: 323.8 kB / 0.7785 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007407/2.802, allocations: 266 kB / 0.7787 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/2.804, allocations: 0.9624 MB / 0.7797 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002194/2.804, allocations: 249.7 kB / 0.7799 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003984/2.804, allocations: 228.8 kB / 0.7801 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003728/2.808, allocations: 2.411 MB / 0.7825 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.465e-05/2.808, allocations: 15.19 kB / 0.7825 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001716/2.808, allocations: 96 kB / 0.7826 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-05/2.808, allocations: 56.91 kB / 0.7826 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00343/2.812, allocations: 1.871 MB / 0.7845 GB, free: 14.84 MB / 0.6075 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.0286/2.841, allocations: 22.31 MB / 0.8063 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002013/2.843, allocations: 1.168 MB / 0.8074 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008906/2.844, allocations: 496.5 kB / 0.8079 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8658/3.709, allocations: 292.5 MB / 1.094 GB, free: 358.4 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001642/3.711, allocations: 0.5957 MB / 1.094 GB, free: 358 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=104): time 4.569e-06/3.711, allocations: 4 kB / 1.094 GB, free: 358 MB / 0.8106 GB Notification: Performance of matching and sorting (n=104): time 0.02266/3.734, allocations: 3.526 MB / 1.098 GB, free: 354.9 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.386e-05/3.734, allocations: 250.9 kB / 1.098 GB, free: 354.6 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002123/3.736, allocations: 1.23 MB / 1.099 GB, free: 353.7 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/3.736, allocations: 49.89 kB / 1.099 GB, free: 353.7 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008915/3.737, allocations: 1.03 MB / 1.1 GB, free: 353 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003361/3.737, allocations: 359.1 kB / 1.1 GB, free: 352.7 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006495/3.738, allocations: 414 kB / 1.101 GB, free: 352.5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 5.7e-05/3.738, allocations: 312.9 kB / 1.101 GB, free: 352.1 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/3.739, allocations: 431.3 kB / 1.102 GB, free: 351.9 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/3.741, allocations: 1.263 MB / 1.103 GB, free: 350.4 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004107/3.745, allocations: 2.007 MB / 1.105 GB, free: 348.6 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.915e-05/3.745, allocations: 8 kB / 1.105 GB, free: 348.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.005447/3.75, allocations: 2.163 MB / 1.107 GB, free: 347.1 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/3.75, allocations: 16.94 kB / 1.107 GB, free: 347.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.645e-05/3.75, allocations: 28 kB / 1.107 GB, free: 347 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006694/3.757, allocations: 1.091 MB / 1.108 GB, free: 346.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/3.759, allocations: 293.2 kB / 1.108 GB, free: 345.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/3.761, allocations: 1.912 MB / 1.11 GB, free: 344.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/3.763, allocations: 243 kB / 1.11 GB, free: 344 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/3.763, allocations: 111.1 kB / 1.11 GB, free: 343.9 MB / 0.8106 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.0008873/3.764, allocations: 436.7 kB / 1.111 GB, free: 343.6 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/3.764, allocations: 162 kB / 1.111 GB, free: 343.4 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002712/3.767, allocations: 1.359 MB / 1.112 GB, free: 342.5 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/3.767, allocations: 12 kB / 1.112 GB, free: 342.5 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/3.767, allocations: 4 kB / 1.112 GB, free: 342.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/3.767, allocations: 3.984 kB / 1.112 GB, free: 342.5 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004186/3.771, allocations: 3.132 MB / 1.115 GB, free: 340.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/3.771, allocations: 0 / 1.115 GB, free: 340.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/3.771, allocations: 88.98 kB / 1.115 GB, free: 340 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003715/3.775, allocations: 0.851 MB / 1.116 GB, free: 339.2 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-05/3.775, allocations: 28.55 kB / 1.116 GB, free: 339.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/3.777, allocations: 1.755 MB / 1.118 GB, free: 337.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/3.777, allocations: 4.031 kB / 1.118 GB, free: 337.7 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003237/3.78, allocations: 1.745 MB / 1.12 GB, free: 336.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006093/3.781, allocations: 326.8 kB / 1.12 GB, free: 336 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/3.781, allocations: 24 kB / 1.12 GB, free: 336 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005659/3.782, allocations: 43.95 kB / 1.12 GB, free: 335.9 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/3.782, allocations: 78.75 kB / 1.12 GB, free: 335.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.768e-05/3.782, allocations: 43.97 kB / 1.12 GB, free: 335.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0009188/3.783, allocations: 0.755 MB / 1.121 GB, free: 335.1 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/3.783, allocations: 0 / 1.121 GB, free: 335.1 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.007896/3.791, allocations: 2.238 MB / 1.123 GB, free: 333 MB / 0.8106 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.0169/3.808, allocations: 5.052 MB / 1.128 GB, free: 328.4 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004355/3.812, allocations: 1.325 MB / 1.129 GB, free: 327.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.476e-05/3.812, allocations: 0.6562 kB / 1.129 GB, free: 327.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001402/3.814, allocations: 0.5487 MB / 1.13 GB, free: 326.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/3.816, allocations: 341.7 kB / 1.13 GB, free: 326.4 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03077/3.847, allocations: 14.14 MB / 1.144 GB, free: 311.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008282/3.848, allocations: 1.324 MB / 1.145 GB, free: 309.8 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001137/3.849, allocations: 235.4 kB / 1.146 GB, free: 309.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007619/3.85, allocations: 0.718 MB / 1.146 GB, free: 308.9 MB / 0.8106 GB Notification: Performance of SimCode: time 1.212e-06/3.85, allocations: 4 kB / 1.146 GB, free: 308.9 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1361/3.986, allocations: 84.7 MB / 1.229 GB, free: 225.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.52/19.51, allocations: 8.062 kB / 1.229 GB, free: 225.4 MB / 0.8106 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)