Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating.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.8293/0.8293, allocations: 153.8 MB / 172.7 MB, free: 4.945 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.Examples.SimpleExamples.TestDynamicWaterHeating,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicWaterHeating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicWaterHeating",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.0004859, allocations: 15.97 kB / 249.9 MB, free: 4.438 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1673, allocations: 33.37 MB / 283.2 MB, free: 1.82 MB / 222.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.Examples.SimpleExamples.TestDynamicWaterHeating): time 1.786/1.954, allocations: 318.9 MB / 0.588 GB, free: 12.36 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2179/2.172, allocations: 196 MB / 0.7794 GB, free: 5.574 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002792/2.175, allocations: 35.81 kB / 0.7795 GB, free: 5.539 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 master/WaterSteam/PressureLosses/ControlValve.mo:45:3-47:43: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 master/WaterSteam/PressureLosses/ControlValve.mo:48:3-50:38: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 master/WaterSteam/Volumes/TwoPhaseCavity.mo:178:3-180:46:writable] Warning: Connector Cv 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 master/WaterSteam/Volumes/TwoPhaseCavity.mo:181:3-183:56:writable] Warning: Connector Cl 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 master/WaterSteam/Volumes/TwoPhaseCavity.mo:194:3-196:48: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 master/WaterSteam/HeatExchangers/DynamicOnePhaseFlowPipe.mo:115:3-116:48: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 master/WaterSteam/HeatExchangers/DynamicOnePhaseFlowPipe.mo:117:3-118:46: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 master/WaterSteam/HeatExchangers/DynamicWaterHeating.mo:80:3-81:83:writable] Warning: Connector C1vap 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 master/WaterSteam/HeatExchangers/DynamicWaterHeating.mo:82:3-84:16:writable] Warning: Connector C2ex 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 master/WaterSteam/HeatExchangers/DynamicWaterHeating.mo:85:3-87:24: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 master/WaterSteam/HeatExchangers/DynamicWaterHeating.mo:88:3-90:17: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 master/WaterSteam/HeatExchangers/DynamicWaterHeating.mo:95:3-97:17: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 master/WaterSteam/HeatExchangers/DynamicOnePhaseFlowPipe.mo:115:3-116:48: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 master/WaterSteam/HeatExchangers/DynamicOnePhaseFlowPipe.mo:117:3-118:46: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 master/WaterSteam/HeatExchangers/DynamicOnePhaseFlowPipe.mo:115:3-116:48: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 master/WaterSteam/HeatExchangers/DynamicOnePhaseFlowPipe.mo:117:3-118:46: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 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 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 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 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 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 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 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 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 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 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 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 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 master/WaterSteam/BoundaryConditions/Sink.mo:17:3-19:16: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 master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16: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 master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52: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 master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16: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 master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52: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 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 master/WaterSteam/BoundaryConditions/RefQ.mo:15:3-17:16: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 master/WaterSteam/BoundaryConditions/RefQ.mo:18:3-19:83: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 master/WaterSteam/PressureLosses/IdealCheckValve.mo:22:3-23:46: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 master/WaterSteam/PressureLosses/IdealCheckValve.mo:24:3-25:48: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 master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16: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 master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52: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 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 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). Notification: Performance of NFTyping.typeComponents: time 0.00259/2.177, allocations: 0.8571 MB / 0.7803 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005689/2.183, allocations: 1.983 MB / 0.7822 GB, free: 2.691 MB / 0.6387 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. Notification: Performance of NFTyping.typeClassSections: time 0.03695/2.22, allocations: 13.65 MB / 0.7956 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.02563/2.245, allocations: 25.95 MB / 0.8209 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0111/2.256, allocations: 7.097 MB / 0.8278 GB, free: 3.848 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3455/2.602, allocations: 8.153 MB / 0.8358 GB, free: 20 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01464/2.617, allocations: 8.459 MB / 0.8441 GB, free: 19.98 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.007078/2.624, allocations: 1.762 MB / 0.8458 GB, free: 19.98 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04492/2.669, allocations: 22.99 MB / 0.8682 GB, free: 19.98 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.007832/2.676, allocations: 5.796 MB / 0.8739 GB, free: 19.98 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0166/2.693, allocations: 8.374 MB / 0.8821 GB, free: 18.16 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.04734/2.74, allocations: 31.97 MB / 0.9133 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/2.74, allocations: 0 / 0.9133 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.783e-06/2.74, allocations: 0.75 kB / 0.9133 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0006472/2.741, allocations: 0.8438 kB / 0.9133 GB, free: 11.56 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3704 * Number of variables: 3704 Notification: Performance of Generate backend data structure: time 0.06832/2.809, allocations: 17.15 MB / 0.93 GB, free: 0.5938 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/2.809, allocations: 12.03 kB / 0.93 GB, free: 0.582 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009042/2.818, allocations: 1.725 MB / 0.9317 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02107/2.839, allocations: 2.746 MB / 0.9344 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01603/2.856, allocations: 5.029 MB / 0.9393 GB, free: 7.465 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005394/2.861, allocations: 5.073 MB / 0.9443 GB, free: 1.402 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006882/2.868, allocations: 0.9613 MB / 0.9452 GB, free: 452 kB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05741/2.925, allocations: 20.28 MB / 0.965 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002788/2.925, allocations: 8.125 kB / 0.965 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005027/2.93, allocations: 360 kB / 0.9654 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005445/2.931, allocations: 0.527 MB / 0.9659 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04886/2.98, allocations: 19.91 MB / 0.9853 GB, free: 7.184 MB / 0.7481 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.1398/3.12, allocations: 70.6 MB / 1.054 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07999/3.2, allocations: 21.43 MB / 1.075 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02982/3.23, allocations: 12.7 MB / 1.088 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6572/3.887, allocations: 136.2 MB / 1.221 GB, free: 444.1 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03454/3.921, allocations: 14.24 MB / 1.235 GB, free: 434.8 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2594): time 1.822e-05/3.921, allocations: 0 / 1.235 GB, free: 434.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2595): time 0.5112/4.433, allocations: 124.8 MB / 1.356 GB, free: 312.6 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/4.433, allocations: 267 kB / 1.357 GB, free: 312.3 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002968/4.436, allocations: 2.316 MB / 1.359 GB, free: 310 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.004698/4.44, allocations: 233.7 kB / 1.359 GB, free: 309.8 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001619/4.442, allocations: 2.287 MB / 1.361 GB, free: 307.5 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.009861/4.452, allocations: 9.146 MB / 1.37 GB, free: 298.4 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01628/4.468, allocations: 2.965 MB / 1.373 GB, free: 295.5 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 4.025e-05/4.468, allocations: 305.1 kB / 1.374 GB, free: 295.2 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02371/4.492, allocations: 11.76 MB / 1.385 GB, free: 283.4 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02676/4.519, allocations: 13.76 MB / 1.398 GB, free: 269.3 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05572/4.574, allocations: 28.09 MB / 1.426 GB, free: 240.9 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.714e-05/4.574, allocations: 8 kB / 1.426 GB, free: 240.9 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2895) (initialization): time 0.1184/4.693, allocations: 41.13 MB / 1.466 GB, free: 199.8 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/4.693, allocations: 17.09 kB / 1.466 GB, free: 199.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001801/4.693, allocations: 71.48 kB / 1.466 GB, free: 199.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528/6.221, allocations: 0.6475 GB / 2.114 GB, free: 433.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002349/6.223, allocations: 0.5368 MB / 2.114 GB, free: 433.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1267/6.35, allocations: 50.66 MB / 2.164 GB, free: 415.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01613/6.366, allocations: 0.778 MB / 2.164 GB, free: 414.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005561/6.371, allocations: 0.5494 MB / 2.165 GB, free: 414.4 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.checkValve.touvert,$whenCondition2,$PRE.checkValve.tferme,$whenCondition1,checkValve.tferme,checkValve.touvert,checkValve.ouvert,$PRE.checkValve.ouvert,PressureLoss_Steam.C2.b,PressureLoss_Steam.C1.a,singularPressureLossPurge.C2.b,singularPressureLossPurge.C1.a,checkValve.C1.a,checkValve.C2.b,refQ.C2.b,refQ.C1.a,sourceP1.C.b,singularPressureLossWaterOut.C2.b,singularPressureLossWaterOut.C1.a,singularPressureLossWaterIn.C2.b,singularPressureLossWaterIn.C1.a,Puit_condenseur2.C.a,WaterHeating.volumeD1.Cs3.b,WaterHeating.volumeD1.Cs2.b,WaterHeating.volumeD1.Cs1.b,WaterHeating.volumeD1.Ce.a,WaterHeating.volumeD.Cs3.b,WaterHeating.volumeD.Cs2.b,WaterHeating.volumeD.Cs1.b,WaterHeating.volumeD.Ce.a,WaterHeating.volumeC.Ce3.a,WaterHeating.volumeC.Cs.b,WaterHeating.volumeC.Ce2.a,WaterHeating.volumeC.Ce1.a,WaterHeating.pipe_2.C2.b,WaterHeating.pipe_2.C1.a,WaterHeating.pipe_1.C2.b,WaterHeating.pipe_1.C1.a,WaterHeating.pipe_3.C2.b,WaterHeating.pipe_3.C1.a,WaterHeating.WaterHeating.Ce.a,WaterHeating.WaterHeating.Cl.b,WaterHeating.WaterHeating.Cv.a,ControlValve_eau.C2.b,ControlValve_eau.C1.a,Puit_condenseur1.C.a,sourceP.C.b,WaterHeating.C1.b,WaterHeating.volumeD1.Cs2.a,WaterHeating.volumeD1.Cs1.a,WaterHeating.volumeD.Cs3.a,WaterHeating.volumeC.Ce2.b,WaterHeating.WaterHeating.NbTubT) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (391): * Single equations (assignments): 333 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 54 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,3), (1,3), (178,843)} Notification: Performance of prepare postOptimizeDAE: time 0.01433/6.386, allocations: 3.484 MB / 2.168 GB, free: 411.6 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005138/6.391, allocations: 0.9173 MB / 2.169 GB, free: 411.2 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1727/6.564, allocations: 58.53 MB / 2.226 GB, free: 364.1 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1603/6.724, allocations: 52.02 MB / 2.277 GB, free: 318.5 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001695/6.724, allocations: 24 kB / 2.277 GB, free: 318.5 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004827/6.725, allocations: 103.6 kB / 2.277 GB, free: 318.4 MB / 0.9044 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 postOpt removeSimpleEquations (simulation): time 0.2313/6.956, allocations: 86.85 MB / 2.362 GB, free: 232 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003964/6.956, allocations: 39.3 kB / 2.362 GB, free: 231.9 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04503/7.001, allocations: 8.039 MB / 2.37 GB, free: 224 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1007/7.102, allocations: 22.5 MB / 2.392 GB, free: 201.3 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006192/7.108, allocations: 0.6869 MB / 2.393 GB, free: 200.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2124/7.321, allocations: 147.7 MB / 2.537 GB, free: 44.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/7.321, allocations: 4 kB / 2.537 GB, free: 44.84 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4397/7.76, allocations: 70.71 MB / 2.606 GB, free: 399.6 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01283/7.773, allocations: 3.765 MB / 2.61 GB, free: 399.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006429/7.78, allocations: 0.5138 MB / 2.61 GB, free: 399.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01719/7.797, allocations: 0.8038 MB / 2.611 GB, free: 399.6 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007793/7.805, allocations: 1.581 MB / 2.612 GB, free: 399.6 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005144/7.81, allocations: 0.6584 MB / 2.613 GB, free: 399.6 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002248/7.812, allocations: 1.503 MB / 2.615 GB, free: 399.4 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.8e-07/7.812, allocations: 0 / 2.615 GB, free: 399.4 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.02537/7.837, allocations: 6.22 MB / 2.621 GB, free: 399.3 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 173 (WaterHeating.WaterHeating.P,WaterHeating.WaterHeating.hl,WaterHeating.WaterHeating.hv,WaterHeating.WaterHeating.Vv,WaterHeating.WaterHeating.Tp,WaterHeating.pipe_3.P[2],WaterHeating.pipe_3.P[3],WaterHeating.pipe_3.P[4],WaterHeating.pipe_3.P[5],WaterHeating.pipe_3.P[6],WaterHeating.pipe_3.P[7],WaterHeating.pipe_3.P[8],WaterHeating.pipe_3.P[9],WaterHeating.pipe_3.P[10],WaterHeating.pipe_3.P[11],WaterHeating.pipe_3.P[12],WaterHeating.pipe_3.P[13],WaterHeating.pipe_3.P[14],WaterHeating.pipe_3.P[15],WaterHeating.pipe_3.P[16],WaterHeating.pipe_3.P[17],WaterHeating.pipe_3.P[18],WaterHeating.pipe_3.P[19],WaterHeating.pipe_3.P[20],WaterHeating.pipe_3.P[21],WaterHeating.pipe_3.Q[1],WaterHeating.pipe_3.Q[2],WaterHeating.pipe_3.Q[3],WaterHeating.pipe_3.Q[4],WaterHeating.pipe_3.Q[5],WaterHeating.pipe_3.Q[6],WaterHeating.pipe_3.Q[7],WaterHeating.pipe_3.Q[8],WaterHeating.pipe_3.Q[9],WaterHeating.pipe_3.Q[10],WaterHeating.pipe_3.Q[11],WaterHeating.pipe_3.Q[12],WaterHeating.pipe_3.Q[13],WaterHeating.pipe_3.Q[14],WaterHeating.pipe_3.Q[15],WaterHeating.pipe_3.Q[16],WaterHeating.pipe_3.Q[17],WaterHeating.pipe_3.Q[18],WaterHeating.pipe_3.Q[19],WaterHeating.pipe_3.Q[20],WaterHeating.pipe_3.Q[21],WaterHeating.pipe_3.h[2],WaterHeating.pipe_3.h[3],WaterHeating.pipe_3.h[4],WaterHeating.pipe_3.h[5],WaterHeating.pipe_3.h[6],WaterHeating.pipe_3.h[7],WaterHeating.pipe_3.h[8],WaterHeating.pipe_3.h[9],WaterHeating.pipe_3.h[10],WaterHeating.pipe_3.h[11],WaterHeating.pipe_3.h[12],WaterHeating.pipe_3.h[13],WaterHeating.pipe_3.h[14],WaterHeating.pipe_3.h[15],WaterHeating.pipe_3.h[16],WaterHeating.pipe_3.h[17],WaterHeating.pipe_3.h[18],WaterHeating.pipe_3.h[19],WaterHeating.pipe_3.h[20],WaterHeating.pipe_3.h[21],WaterHeating.Wall_3.Tp[1],WaterHeating.Wall_3.Tp[2],WaterHeating.Wall_3.Tp[3],WaterHeating.Wall_3.Tp[4],WaterHeating.Wall_3.Tp[5],WaterHeating.Wall_3.Tp[6],WaterHeating.Wall_3.Tp[7],WaterHeating.Wall_3.Tp[8],WaterHeating.Wall_3.Tp[9],WaterHeating.Wall_3.Tp[10],WaterHeating.Wall_3.Tp[11],WaterHeating.Wall_3.Tp[12],WaterHeating.Wall_3.Tp[13],WaterHeating.Wall_3.Tp[14],WaterHeating.Wall_3.Tp[15],WaterHeating.Wall_3.Tp[16],WaterHeating.Wall_3.Tp[17],WaterHeating.Wall_3.Tp[18],WaterHeating.Wall_3.Tp[19],WaterHeating.Wall_3.Tp[20],WaterHeating.pipe_1.P[2],WaterHeating.pipe_1.P[3],WaterHeating.pipe_1.P[4],WaterHeating.pipe_1.P[5],WaterHeating.pipe_1.P[6],WaterHeating.pipe_1.P[7],WaterHeating.pipe_1.P[8],WaterHeating.pipe_1.P[9],WaterHeating.pipe_1.P[10],WaterHeating.pipe_1.P[11],WaterHeating.pipe_1.Q[1],WaterHeating.pipe_1.Q[2],WaterHeating.pipe_1.Q[3],WaterHeating.pipe_1.Q[4],WaterHeating.pipe_1.Q[5],WaterHeating.pipe_1.Q[6],WaterHeating.pipe_1.Q[7],WaterHeating.pipe_1.Q[8],WaterHeating.pipe_1.Q[9],WaterHeating.pipe_1.Q[10],WaterHeating.pipe_1.Q[11],WaterHeating.pipe_1.h[2],WaterHeating.pipe_1.h[3],WaterHeating.pipe_1.h[4],WaterHeating.pipe_1.h[5],WaterHeating.pipe_1.h[6],WaterHeating.pipe_1.h[7],WaterHeating.pipe_1.h[8],WaterHeating.pipe_1.h[9],WaterHeating.pipe_1.h[10],WaterHeating.pipe_1.h[11],WaterHeating.Wall_1.Tp[1],WaterHeating.Wall_1.Tp[2],WaterHeating.Wall_1.Tp[3],WaterHeating.Wall_1.Tp[4],WaterHeating.Wall_1.Tp[5],WaterHeating.Wall_1.Tp[6],WaterHeating.Wall_1.Tp[7],WaterHeating.Wall_1.Tp[8],WaterHeating.Wall_1.Tp[9],WaterHeating.Wall_1.Tp[10],WaterHeating.pipe_2.P[2],WaterHeating.pipe_2.P[3],WaterHeating.pipe_2.P[4],WaterHeating.pipe_2.P[5],WaterHeating.pipe_2.P[6],WaterHeating.pipe_2.P[7],WaterHeating.pipe_2.P[8],WaterHeating.pipe_2.P[9],WaterHeating.pipe_2.P[10],WaterHeating.pipe_2.P[11],WaterHeating.pipe_2.Q[1],WaterHeating.pipe_2.Q[2],WaterHeating.pipe_2.Q[3],WaterHeating.pipe_2.Q[4],WaterHeating.pipe_2.Q[5],WaterHeating.pipe_2.Q[6],WaterHeating.pipe_2.Q[7],WaterHeating.pipe_2.Q[8],WaterHeating.pipe_2.Q[9],WaterHeating.pipe_2.Q[10],WaterHeating.pipe_2.Q[11],WaterHeating.pipe_2.h[2],WaterHeating.pipe_2.h[3],WaterHeating.pipe_2.h[4],WaterHeating.pipe_2.h[5],WaterHeating.pipe_2.h[6],WaterHeating.pipe_2.h[7],WaterHeating.pipe_2.h[8],WaterHeating.pipe_2.h[9],WaterHeating.pipe_2.h[10],WaterHeating.pipe_2.h[11],WaterHeating.Wall_2.Tp[1],WaterHeating.Wall_2.Tp[2],WaterHeating.Wall_2.Tp[3],WaterHeating.Wall_2.Tp[4],WaterHeating.Wall_2.Tp[5],WaterHeating.Wall_2.Tp[6],WaterHeating.Wall_2.Tp[7],WaterHeating.Wall_2.Tp[8],WaterHeating.Wall_2.Tp[9],WaterHeating.Wall_2.Tp[10],WaterHeating.volumeC.P,WaterHeating.volumeC.h,WaterHeating.volumeD.h,WaterHeating.volumeD1.P,WaterHeating.volumeD1.h) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,checkValve.ouvert,checkValve.touvert,checkValve.tferme) * Number of discrete states: 2 (checkValve.touvert,checkValve.tferme) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1925): * Single equations (assignments): 1656 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 140 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 42 * Torn equation systems: 86 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 42 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 42 systems {(4,1,62.5%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 44 systems {(1,3), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (3,7), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (2,6), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (1,4), (4,10), (1,3), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2111/8.048, allocations: 74.38 MB / 2.693 GB, free: 378 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.1025/8.151, allocations: 51.69 MB / 2.744 GB, free: 330.9 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/8.151, allocations: 7.75 kB / 2.744 GB, free: 330.9 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.05445/8.205, allocations: 28.78 MB / 2.772 GB, free: 304.5 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03896/8.244, allocations: 6.467 MB / 2.778 GB, free: 299.6 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.401/8.645, allocations: 176.2 MB / 2.95 GB, free: 124.3 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01237/8.658, allocations: 9.531 MB / 2.96 GB, free: 114.8 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0124/8.67, allocations: 3.218 MB / 2.963 GB, free: 111.5 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01209/8.682, allocations: 7.107 MB / 2.97 GB, free: 104.4 MB / 0.9044 GB Notification: Performance of SimCode: time 2.094e-06/8.682, allocations: 0 / 2.97 GB, free: 104.4 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.511/10.19, allocations: 0.7173 GB / 3.687 GB, free: 241.2 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 299.4/309.6, allocations: 4.531 kB / 3.687 GB, free: 241.2 MB / 0.9044 GB " [Timeout remaining time 350] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.4 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicWaterHeating.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterHeating.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 315.64281380400007] Failed to read output from testmodel.py, exit status != 0: 310.26894057699997 310.276600108 307.533657054 Calling exit ...