Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.SimpleExamples.TestCheckValve,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestCheckValve,fileNamePrefix="ThermoSysPro_ThermoSysPro_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.8047/0.8047, allocations: 150.9 MB / 166.5 MB, free: 14.68 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003274, allocations: 15.19 kB / 236.6 MB, free: 1.938 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06629/0.06663, allocations: 31.35 MB / 268 MB, free: 7.547 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.Examples.SimpleExamples.TestCheckValve): time 1.761/1.828, allocations: 299.4 MB / 0.554 GB, free: 8.348 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.6752/2.503, allocations: 187.7 MB / 0.7373 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/2.504, allocations: 12.88 kB / 0.7373 GB, free: 15.48 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StaticCentrifugalPump.mo:60:3-62:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StaticCentrifugalPump.mo:63:3-65:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StaticCentrifugalPump.mo:60:3-62:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StaticCentrifugalPump.mo:63:3-65:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeD.mo:29:3-31:42:writable] Warning: Connector Ce is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeD.mo:32:3-34:37:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeD.mo:35:3-37:43:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeD.mo:38:3-40:37:writable] Warning: Connector Cs3 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/CheckValve.mo:38:3-39:49:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/CheckValve.mo:40:3-41:47:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/CheckValve.mo:38:3-39:49:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/CheckValve.mo:40:3-41:47:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeC.mo:29:3-31:42:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeC.mo:32:3-34:37:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeC.mo:35:3-37:37:writable] Warning: Connector Cs is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/VolumeC.mo:38:3-40:43:writable] Warning: Connector Ce3 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:49:3-50:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:51:3-53:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:49:3-50:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:51:3-53:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/CheckValve.mo:38:3-39:49:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/CheckValve.mo:40:3-41:47:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0009811/2.505, allocations: 312 kB / 0.7376 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001623/2.507, allocations: 0.5918 MB / 0.7382 GB, free: 15.48 MB / 0.6075 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. Notification: Performance of NFTyping.typeClassSections: time 0.04196/2.549, allocations: 11.84 MB / 0.7498 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003774/2.553, allocations: 1.955 MB / 0.7517 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/2.554, allocations: 0.7162 MB / 0.7524 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/2.555, allocations: 0.7347 MB / 0.7531 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007654/2.556, allocations: 0.6839 MB / 0.7538 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001556/2.556, allocations: 115 kB / 0.7539 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04933/2.605, allocations: 20.18 MB / 0.7736 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007892/2.606, allocations: 280.7 kB / 0.7738 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001757/2.608, allocations: 0.7698 MB / 0.7746 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.03725/2.645, allocations: 11 MB / 0.7853 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/2.645, allocations: 0 / 0.7853 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.665e-06/2.645, allocations: 2.531 kB / 0.7853 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.415e-05/2.645, allocations: 3.984 kB / 0.7853 GB, free: 7.238 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: 407 * Number of variables: 407 Notification: Performance of Generate backend data structure: time 0.01078/2.656, allocations: 2.979 MB / 0.7882 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/2.656, allocations: 11.62 kB / 0.7883 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002504/2.656, allocations: 216.3 kB / 0.7885 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003601/2.657, allocations: 174.9 kB / 0.7886 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009552/2.658, allocations: 0.5945 MB / 0.7892 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/2.658, allocations: 175.1 kB / 0.7894 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/2.658, allocations: 113.2 kB / 0.7895 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002683/2.661, allocations: 1.544 MB / 0.791 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/2.661, allocations: 7.312 kB / 0.791 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/2.661, allocations: 53.44 kB / 0.7911 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-05/2.661, allocations: 64.33 kB / 0.7911 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/2.663, allocations: 1.038 MB / 0.7921 GB, free: 3.926 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.06853/2.731, allocations: 33.85 MB / 0.8252 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00253/2.734, allocations: 0.9566 MB / 0.8261 GB, free: 240 kB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/2.735, allocations: 0.6275 MB / 0.8267 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.352/3.087, allocations: 159.7 MB / 0.9826 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001827/3.089, allocations: 0.7191 MB / 0.9833 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=205): time 3.737e-06/3.089, allocations: 0 / 0.9833 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of matching and sorting (n=205): time 0.02775/3.117, allocations: 5.861 MB / 0.9891 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/3.117, allocations: 222.2 kB / 0.9893 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009564/3.118, allocations: 0.7139 MB / 0.99 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.456e-05/3.118, allocations: 41.7 kB / 0.99 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004313/3.119, allocations: 0.5143 MB / 0.9905 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005637/3.119, allocations: 0.6776 MB / 0.9912 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004181/3.12, allocations: 274.8 kB / 0.9914 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001429/3.12, allocations: 361.9 kB / 0.9918 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008194/3.121, allocations: 451.2 kB / 0.9922 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/3.122, allocations: 0.8131 MB / 0.993 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002986/3.125, allocations: 1.628 MB / 0.9946 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/3.125, allocations: 7.938 kB / 0.9946 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003523/3.128, allocations: 1.945 MB / 0.9965 GB, free: 20 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/3.128, allocations: 8 kB / 0.9965 GB, free: 12 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.424e-05/3.128, allocations: 24.02 kB / 0.9965 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005168/3.134, allocations: 1.92 MB / 0.9984 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/3.134, allocations: 94.11 kB / 0.9985 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003162/3.137, allocations: 2.404 MB / 1.001 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/3.138, allocations: 174.6 kB / 1.001 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/3.138, allocations: 59.98 kB / 1.001 GB, free: 11.31 MB / 0.8419 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: 45 * Number of states: 0 () * Number of discrete variables: 55 ($PRE.checkValve2.touvert,$whenCondition7,$PRE.checkValve2.tferme,$whenCondition6,$PRE.checkValve1.touvert,$whenCondition5,$PRE.checkValve1.tferme,$whenCondition4,$PRE.checkValve3.touvert,$whenCondition3,$PRE.checkValve3.tferme,$whenCondition2,$whenCondition1,checkValve2.tferme,checkValve2.touvert,checkValve2.ouvert,$PRE.checkValve2.ouvert,checkValve1.tferme,checkValve1.touvert,checkValve1.ouvert,$PRE.checkValve1.ouvert,$PRE.pulse.T0,checkValve3.tferme,checkValve3.touvert,checkValve3.ouvert,$PRE.checkValve3.ouvert,pulse.T0,checkValve3.C2.b,checkValve3.C1.a,puitsP1.C.a,sourceP1.C.b,perteDP1.C2.b,perteDP1.C1.a,perteDP.C2.b,perteDP.C1.a,volumeC.Ce3.a,volumeC.Cs.b,volumeC.Ce2.a,volumeC.Ce1.a,checkValve2.C2.b,checkValve2.C1.a,checkValve1.C2.b,checkValve1.C1.a,volumeD.Cs3.b,volumeD.Cs2.b,volumeD.Cs1.b,volumeD.Ce.a,staticCentrifugalPump2.C2.b,staticCentrifugalPump2.C1.a,staticCentrifugalPump1.C2.b,staticCentrifugalPump1.C1.a,puitsP.C.a,sourceP.C.b,volumeC.Ce1.b,volumeD.Cs3.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(14,38), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008193/3.139, allocations: 299.9 kB / 1.001 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005388/3.14, allocations: 133.8 kB / 1.001 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004908/3.145, allocations: 2.849 MB / 1.004 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003106/3.148, allocations: 1.936 MB / 1.006 GB, free: 5.992 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/3.148, allocations: 4 kB / 1.006 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/3.148, allocations: 7.969 kB / 1.006 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007015/3.155, allocations: 4.528 MB / 1.011 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/3.155, allocations: 4 kB / 1.011 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005545/3.155, allocations: 183.7 kB / 1.011 GB, free: 1.234 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2203/3.376, allocations: 1.246 MB / 1.012 GB, free: 459.9 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002952/3.376, allocations: 36.08 kB / 1.012 GB, free: 459.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003026/3.379, allocations: 2.287 MB / 1.014 GB, free: 458.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/3.379, allocations: 4.594 kB / 1.014 GB, free: 458.8 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005086/3.384, allocations: 3.041 MB / 1.017 GB, free: 458.5 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006222/3.385, allocations: 346.7 kB / 1.018 GB, free: 458.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002433/3.385, allocations: 46.41 kB / 1.018 GB, free: 458.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000839/3.386, allocations: 52.73 kB / 1.018 GB, free: 458.4 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/3.386, allocations: 111.1 kB / 1.018 GB, free: 458.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.59e-05/3.386, allocations: 48.84 kB / 1.018 GB, free: 458.4 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008106/3.387, allocations: 0.5653 MB / 1.018 GB, free: 458.3 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.21e-07/3.387, allocations: 0 / 1.018 GB, free: 458.3 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.005501/3.393, allocations: 1.833 MB / 1.02 GB, free: 458.3 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (checkValve2.touvert,checkValve2.tferme,checkValve1.touvert,checkValve1.tferme,checkValve3.touvert,checkValve3.tferme) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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), (11,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01362/3.406, allocations: 5.835 MB / 1.026 GB, free: 457.3 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003956/3.41, allocations: 2.084 MB / 1.028 GB, free: 456.8 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/3.41, allocations: 0 / 1.028 GB, free: 456.8 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00191/3.412, allocations: 0.9975 MB / 1.029 GB, free: 456.8 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003462/3.416, allocations: 0.6184 MB / 1.029 GB, free: 456.7 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01954/3.435, allocations: 11.7 MB / 1.041 GB, free: 453 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008883/3.436, allocations: 1.329 MB / 1.042 GB, free: 452.3 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0006123/3.437, allocations: 135.5 kB / 1.042 GB, free: 452.3 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006645/3.437, allocations: 0.6864 MB / 1.043 GB, free: 451.7 MB / 0.8419 GB Notification: Performance of SimCode: time 1.182e-06/3.437, allocations: 3.656 kB / 1.043 GB, free: 451.7 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1483/3.586, allocations: 89.96 MB / 1.131 GB, free: 376.3 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.81/20.4, allocations: 8.719 kB / 1.131 GB, free: 376.3 MB / 0.8419 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCheckValve.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCheckValve.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCheckValve.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCheckValve.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.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_Examples_SimpleExamples_TestCheckValve.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCheckValve.pipe 2>&1)