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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.9/0.9, allocations: 153.8 MB / 170.2 MB, free: 13.78 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0006683/0.0006683, allocations: 16.44 kB / 246.3 MB, free: 14.9 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07864/0.07931, allocations: 33.35 MB / 279.7 MB, free: 15.14 MB / 238.1 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValve): time 1.763/1.842, allocations: 313.3 MB / 0.5791 GB, free: 4.586 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.5143/2.357, allocations: 200.4 MB / 0.7748 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/2.358, allocations: 47.69 kB / 0.7748 GB, free: 12.05 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:59:3-60: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 master/Fluid/BoundaryConditions/SinkP.mo:47:3-48: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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 master/Fluid/BoundaryConditions/SourceP.mo:59:3-60: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 master/Fluid/BoundaryConditions/SinkP.mo:47:3-48: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 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 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.0006997/2.359, allocations: 259.3 kB / 0.7751 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001579/2.361, allocations: 0.6735 MB / 0.7757 GB, free: 11.55 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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 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 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.03797/2.398, allocations: 14.51 MB / 0.7899 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003362/2.402, allocations: 2.723 MB / 0.7926 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/2.403, allocations: 1.111 MB / 0.7937 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/2.404, allocations: 1.101 MB / 0.7947 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/2.405, allocations: 1.166 MB / 0.7959 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002316/2.406, allocations: 244.2 kB / 0.7961 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04239/2.448, allocations: 22.81 MB / 0.8184 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008605/2.449, allocations: 0.5701 MB / 0.8189 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001523/2.45, allocations: 1.244 MB / 0.8202 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0305/2.481, allocations: 13.57 MB / 0.8334 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/2.481, allocations: 0 / 0.8334 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.573e-06/2.481, allocations: 0 / 0.8334 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.602e-05/2.481, allocations: 0 / 0.8334 GB, free: 15.64 MB / 0.6387 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.008991/2.49, allocations: 4.168 MB / 0.8375 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/2.49, allocations: 8.031 kB / 0.8375 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003736/2.49, allocations: 316.6 kB / 0.8378 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00044/2.491, allocations: 290.3 kB / 0.8381 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/2.492, allocations: 1.053 MB / 0.8391 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/2.493, allocations: 249.6 kB / 0.8393 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003904/2.493, allocations: 228 kB / 0.8395 GB, free: 9.207 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003909/2.497, allocations: 2.414 MB / 0.8419 GB, free: 6.578 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.23e-05/2.497, allocations: 11.81 kB / 0.8419 GB, free: 6.566 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/2.497, allocations: 96 kB / 0.842 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.652e-05/2.497, allocations: 60.75 kB / 0.8421 GB, free: 6.414 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003576/2.501, allocations: 1.884 MB / 0.8439 GB, free: 4.527 MB / 0.6387 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.02725/2.528, allocations: 22.32 MB / 0.8657 GB, free: 11.8 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002186/2.53, allocations: 1.097 MB / 0.8668 GB, free: 10.61 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009701/2.531, allocations: 453.2 kB / 0.8672 GB, free: 10.16 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7856/3.317, allocations: 315 MB / 1.175 GB, free: 255.6 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009949/3.318, allocations: 0.5939 MB / 1.175 GB, free: 255 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=104): time 2.554e-06/3.318, allocations: 0 / 1.175 GB, free: 255 MB / 0.8106 GB Notification: Performance of matching and sorting (n=104): time 0.01407/3.332, allocations: 3.525 MB / 1.179 GB, free: 251.6 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/3.332, allocations: 248.8 kB / 1.179 GB, free: 251.3 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/3.333, allocations: 1.354 MB / 1.18 GB, free: 250 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.628e-05/3.333, allocations: 45.7 kB / 1.18 GB, free: 249.9 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000518/3.334, allocations: 1.059 MB / 1.181 GB, free: 249.1 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/3.334, allocations: 382.6 kB / 1.182 GB, free: 248.8 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003881/3.334, allocations: 434.7 kB / 1.182 GB, free: 248.3 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 3.409e-05/3.334, allocations: 301.1 kB / 1.183 GB, free: 248 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007453/3.335, allocations: 443.8 kB / 1.183 GB, free: 247.6 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/3.336, allocations: 1.263 MB / 1.184 GB, free: 245.9 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002785/3.339, allocations: 2.019 MB / 1.186 GB, free: 243.7 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/3.339, allocations: 8 kB / 1.186 GB, free: 243.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.003464/3.342, allocations: 2.157 MB / 1.188 GB, free: 241.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/3.342, allocations: 23.98 kB / 1.188 GB, free: 241.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.472e-05/3.342, allocations: 24 kB / 1.188 GB, free: 241.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004517/3.347, allocations: 1.074 MB / 1.189 GB, free: 240.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007487/3.348, allocations: 298.5 kB / 1.19 GB, free: 240.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/3.35, allocations: 1.917 MB / 1.192 GB, free: 238.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/3.351, allocations: 253.6 kB / 1.192 GB, free: 238.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.734e-05/3.351, allocations: 99.98 kB / 1.192 GB, free: 238.1 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.0005922/3.351, allocations: 454.4 kB / 1.192 GB, free: 237.7 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/3.352, allocations: 177.6 kB / 1.192 GB, free: 237.5 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002445/3.354, allocations: 1.343 MB / 1.194 GB, free: 236.1 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/3.354, allocations: 12 kB / 1.194 GB, free: 236.1 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/3.354, allocations: 0 / 1.194 GB, free: 236.1 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/3.354, allocations: 13.16 kB / 1.194 GB, free: 236.1 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003449/3.358, allocations: 3.13 MB / 1.197 GB, free: 232.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/3.358, allocations: 4 kB / 1.197 GB, free: 232.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/3.358, allocations: 87.7 kB / 1.197 GB, free: 232.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003582/3.361, allocations: 0.8595 MB / 1.198 GB, free: 232 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-05/3.362, allocations: 31.98 kB / 1.198 GB, free: 232 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00151/3.363, allocations: 1.753 MB / 1.2 GB, free: 230.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/3.363, allocations: 7.922 kB / 1.2 GB, free: 230.2 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002526/3.366, allocations: 1.734 MB / 1.201 GB, free: 228.4 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004218/3.366, allocations: 374.2 kB / 1.202 GB, free: 228 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/3.366, allocations: 19.94 kB / 1.202 GB, free: 228 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005886/3.367, allocations: 52.02 kB / 1.202 GB, free: 228 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/3.367, allocations: 80.92 kB / 1.202 GB, free: 227.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.203e-05/3.367, allocations: 35.98 kB / 1.202 GB, free: 227.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008452/3.368, allocations: 0.8402 MB / 1.203 GB, free: 227 MB / 0.8106 GB Notification: Performance of sort global known variables: time 8e-08/3.368, allocations: 0 / 1.203 GB, free: 227 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00491/3.373, allocations: 2.271 MB / 1.205 GB, free: 225.1 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.009225/3.382, allocations: 5.053 MB / 1.21 GB, free: 220.3 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00242/3.384, allocations: 1.244 MB / 1.211 GB, free: 219.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/3.384, allocations: 0 / 1.211 GB, free: 219.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009899/3.385, allocations: 0.5046 MB / 1.211 GB, free: 218.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/3.387, allocations: 345.3 kB / 1.212 GB, free: 218.4 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01815/3.405, allocations: 13.49 MB / 1.225 GB, free: 204.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007639/3.406, allocations: 1.361 MB / 1.226 GB, free: 202.7 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0008713/3.406, allocations: 243.2 kB / 1.227 GB, free: 202.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007009/3.407, allocations: 0.7219 MB / 1.227 GB, free: 201.8 MB / 0.8106 GB Notification: Performance of SimCode: time 1.713e-06/3.407, allocations: 4 kB / 1.227 GB, free: 201.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1226/3.53, allocations: 85.76 MB / 1.311 GB, free: 117.1 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.59/22.12, allocations: 10.03 kB / 1.311 GB, free: 117.1 MB / 0.8106 GB " [Timeout remaining time 638] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 27.12149034900358] Failed to read output from testmodel.py, exit status != 0: 22.4424696030037 22.450666685 19.96773685 Calling exit ...