Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.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.9618/0.9618, allocations: 153.8 MB / 170.2 MB, free: 13.76 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.TestDynamicWaterWaterExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicWaterWaterExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicWaterWaterExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005713/0.0005713, allocations: 18.8 kB / 246.3 MB, free: 15.06 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07868/0.07925, allocations: 33.34 MB / 279.7 MB, free: 15.26 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.Examples.SimpleExamples.TestDynamicWaterWaterExchanger): time 1.821/1.901, allocations: 309 MB / 0.5749 GB, free: 8.832 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03109/1.932, allocations: 23.24 MB / 0.5976 GB, free: 1.5 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005076/1.932, allocations: 4 kB / 0.5976 GB, free: 1.496 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/DynamicWaterWaterExchanger.mo:117:3-118:48:writable] Warning: Connector Ec 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/DynamicWaterWaterExchanger.mo:119:3-120:48:writable] Warning: Connector Ef 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/DynamicWaterWaterExchanger.mo:121:3-122:46:writable] Warning: Connector Sf 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/DynamicWaterWaterExchanger.mo:123:3-124:46:writable] Warning: Connector Sc 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/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). Notification: Performance of NFTyping.typeComponents: time 0.0006626/1.933, allocations: 218.4 kB / 0.5978 GB, free: 1.285 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00083/1.934, allocations: 433.6 kB / 0.5982 GB, free: 0.8594 MB / 478.1 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.02251/1.956, allocations: 7.371 MB / 0.6054 GB, free: 9.488 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003205/1.959, allocations: 2.553 MB / 0.6079 GB, free: 6.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000907/1.96, allocations: 0.618 MB / 0.6085 GB, free: 6.297 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/1.962, allocations: 0.8922 MB / 0.6093 GB, free: 5.402 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/1.963, allocations: 0.8723 MB / 0.6102 GB, free: 4.527 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001961/1.963, allocations: 120 kB / 0.6103 GB, free: 4.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03065/1.994, allocations: 15.47 MB / 0.6254 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008406/1.994, allocations: 490.6 kB / 0.6259 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001218/1.996, allocations: 0.7583 MB / 0.6266 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01995/2.016, allocations: 7.926 MB / 0.6344 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/2.016, allocations: 0 / 0.6344 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.124e-06/2.016, allocations: 0 / 0.6344 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.371e-05/2.016, allocations: 0 / 0.6344 GB, free: 11.74 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.008883/2.025, allocations: 2.363 MB / 0.6367 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/2.025, allocations: 8.031 kB / 0.6367 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000311/2.025, allocations: 220.8 kB / 0.6369 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003237/2.025, allocations: 140 kB / 0.637 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009417/2.026, allocations: 0.5705 MB / 0.6376 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/2.026, allocations: 94 kB / 0.6377 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000202/2.026, allocations: 108 kB / 0.6378 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003316/2.03, allocations: 1.962 MB / 0.6397 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/2.03, allocations: 3.984 kB / 0.6397 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/2.03, allocations: 48 kB / 0.6397 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.988e-05/2.03, allocations: 67.94 kB / 0.6398 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003608/2.034, allocations: 1.914 MB / 0.6417 GB, free: 4.07 MB / 0.5137 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.08923/2.123, allocations: 39.76 MB / 0.6805 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003084/2.126, allocations: 1.516 MB / 0.682 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002149/2.128, allocations: 1.037 MB / 0.683 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3107/2.439, allocations: 36.41 MB / 0.7186 GB, free: 213 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/2.439, allocations: 51.7 kB / 0.7186 GB, free: 213 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=292): time 3.747e-06/2.439, allocations: 1.344 kB / 0.7186 GB, free: 213 MB / 0.5919 GB Notification: Performance of matching and sorting (n=292): time 0.02918/2.468, allocations: 7.213 MB / 0.7256 GB, free: 212.4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/2.468, allocations: 66.25 kB / 0.7257 GB, free: 212.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003647/2.468, allocations: 356.3 kB / 0.7261 GB, free: 212.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/2.469, allocations: 51.61 kB / 0.7261 GB, free: 212.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/2.469, allocations: 285.3 kB / 0.7264 GB, free: 212.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005531/2.469, allocations: 0.9953 MB / 0.7273 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004625/2.47, allocations: 346.6 kB / 0.7277 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.686e-05/2.47, allocations: 327.6 kB / 0.728 GB, free: 211.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001546/2.471, allocations: 1.025 MB / 0.729 GB, free: 211.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/2.473, allocations: 1.208 MB / 0.7302 GB, free: 211 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003496/2.476, allocations: 2.459 MB / 0.7326 GB, free: 210 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/2.476, allocations: 3.938 kB / 0.7326 GB, free: 210 MB / 0.5919 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.005875/2.482, allocations: 3.6 MB / 0.7361 GB, free: 208.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/2.482, allocations: 6.781 kB / 0.7361 GB, free: 208.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/2.482, allocations: 6.562 kB / 0.7361 GB, free: 208.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01516/2.498, allocations: 4.834 MB / 0.7408 GB, free: 207 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/2.498, allocations: 30.98 kB / 0.7409 GB, free: 207 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007273/2.505, allocations: 4.9 MB / 0.7456 GB, free: 203.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009491/2.506, allocations: 190.9 kB / 0.7458 GB, free: 203.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/2.506, allocations: 71.03 kB / 0.7459 GB, free: 203.6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (puitsP1.C.a,puitsP.C.a,sourceP1.C.b,sourceP.C.b,echangeurAPlaques1D.Sc.b,echangeurAPlaques1D.Sf.b,echangeurAPlaques1D.Ef.a,echangeurAPlaques1D.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(22,100)} Notification: Performance of prepare postOptimizeDAE: time 0.0005222/2.507, allocations: 369.8 kB / 0.7462 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/2.507, allocations: 113.2 kB / 0.7463 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009286/2.516, allocations: 10.69 MB / 0.7568 GB, free: 192.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005058/2.521, allocations: 3.922 MB / 0.7606 GB, free: 188.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/2.521, allocations: 11.92 kB / 0.7606 GB, free: 188.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.898e-05/2.521, allocations: 11.95 kB / 0.7606 GB, free: 188.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01332/2.534, allocations: 7.885 MB / 0.7683 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/2.534, allocations: 0 / 0.7683 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/2.536, allocations: 355.6 kB / 0.7687 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003892/2.54, allocations: 1.916 MB / 0.7706 GB, free: 178.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000195/2.54, allocations: 63.94 kB / 0.7706 GB, free: 178.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005897/2.546, allocations: 6.909 MB / 0.7774 GB, free: 171 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/2.546, allocations: 4.031 kB / 0.7774 GB, free: 171 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01037/2.556, allocations: 6.107 MB / 0.7833 GB, free: 164.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003371/2.556, allocations: 279.2 kB / 0.7836 GB, free: 164.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002464/2.557, allocations: 67.78 kB / 0.7837 GB, free: 164.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/2.558, allocations: 68.52 kB / 0.7837 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002944/2.558, allocations: 173.9 kB / 0.7839 GB, free: 164.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/2.558, allocations: 75.95 kB / 0.784 GB, free: 164.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003584/2.558, allocations: 401.5 kB / 0.7843 GB, free: 163.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/2.558, allocations: 0 / 0.7843 GB, free: 163.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003135/2.562, allocations: 1.371 MB / 0.7857 GB, free: 162.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (echangeurAPlaques1D.Hmc[1],echangeurAPlaques1D.Hmc[2],echangeurAPlaques1D.Hmc[3],echangeurAPlaques1D.Hmc[4],echangeurAPlaques1D.Hmc[5],echangeurAPlaques1D.Hmf[1],echangeurAPlaques1D.Hmf[2],echangeurAPlaques1D.Hmf[3],echangeurAPlaques1D.Hmf[4],echangeurAPlaques1D.Hmf[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (188): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,35), (5,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01474/2.576, allocations: 7.819 MB / 0.7933 GB, free: 154.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00628/2.583, allocations: 3.815 MB / 0.797 GB, free: 150.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/2.583, allocations: 0 / 0.797 GB, free: 150.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003631/2.586, allocations: 1.998 MB / 0.799 GB, free: 148.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00402/2.59, allocations: 0.8826 MB / 0.7999 GB, free: 148 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02676/2.617, allocations: 17.3 MB / 0.8168 GB, free: 130.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009983/2.618, allocations: 1.534 MB / 0.8183 GB, free: 129 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008762/2.619, allocations: 320 kB / 0.8186 GB, free: 128.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006487/2.62, allocations: 0.6906 MB / 0.8192 GB, free: 128 MB / 0.5919 GB Notification: Performance of SimCode: time 9.82e-07/2.62, allocations: 0 / 0.8192 GB, free: 128 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1415/2.761, allocations: 103.6 MB / 0.9204 GB, free: 25.79 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.21/20.97, allocations: 11.78 kB / 0.9204 GB, free: 25.78 MB / 0.5919 GB " [Timeout remaining time 639] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger_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_TestDynamicWaterWaterExchanger.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.527076315993327] Failed to read output from testmodel.py, exit status != 0: 21.424985880003078 21.433195579 19.415299529 Calling exit ...