Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.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.863/0.863, allocations: 153.8 MB / 172.7 MB, free: 4.863 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.TestDiaphragm,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDiaphragm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDiaphragm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005379/0.0005379, allocations: 7.984 kB / 249.8 MB, free: 4.355 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.191, allocations: 33.36 MB / 283.2 MB, free: 1.723 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.TestDiaphragm): time 1.858/2.049, allocations: 307.6 MB / 0.5769 GB, free: 17.36 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03135/2.08, allocations: 30.73 MB / 0.6069 GB, free: 2.723 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003577/2.08, allocations: 2.312 kB / 0.6069 GB, free: 2.723 MB / 478.1 MB [/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/Diaphragm.mo:30:3-32: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/Diaphragm.mo:33:3-35: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.0004641/2.081, allocations: 113.4 kB / 0.607 GB, free: 2.672 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002703/2.081, allocations: 117.4 kB / 0.6071 GB, free: 2.59 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. [/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.02522/2.106, allocations: 9.749 MB / 0.6166 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006055/2.107, allocations: 355.7 kB / 0.617 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/2.107, allocations: 92.83 kB / 0.617 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00028/2.107, allocations: 163.3 kB / 0.6172 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/2.108, allocations: 103.4 kB / 0.6173 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/2.108, allocations: 16 kB / 0.6173 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0331/2.141, allocations: 16.83 MB / 0.6337 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/2.141, allocations: 55.77 kB / 0.6338 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001823/2.141, allocations: 107.5 kB / 0.6339 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02182/2.163, allocations: 8.501 MB / 0.6422 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/2.163, allocations: 0 / 0.6422 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.274e-06/2.163, allocations: 0 / 0.6422 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.205e-06/2.163, allocations: 0 / 0.6422 GB, free: 2.48 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.004794/2.168, allocations: 1.434 MB / 0.6436 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/2.168, allocations: 8.031 kB / 0.6436 GB, free: 1 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.154e-05/2.168, allocations: 68.31 kB / 0.6437 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.004e-05/2.168, allocations: 31.81 kB / 0.6437 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/2.168, allocations: 177.8 kB / 0.6439 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/2.168, allocations: 12.44 kB / 0.6439 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/2.168, allocations: 24 kB / 0.6439 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005334/2.169, allocations: 338.8 kB / 0.6442 GB, free: 300 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/2.169, allocations: 4 kB / 0.6442 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/2.169, allocations: 8 kB / 0.6443 GB, free: 288 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/2.169, allocations: 22 kB / 0.6443 GB, free: 268 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002859/2.169, allocations: 177.1 kB / 0.6444 GB, free: 88 kB / 0.4981 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.03559/2.205, allocations: 10.92 MB / 0.6551 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000449/2.205, allocations: 126.6 kB / 0.6552 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.633e-05/2.205, allocations: 68.84 kB / 0.6553 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1474/2.352, allocations: 43.64 MB / 0.6979 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/2.352, allocations: 30.56 kB / 0.6979 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.184e-06/2.352, allocations: 0 / 0.6979 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.0008878/2.353, allocations: 337.8 kB / 0.6983 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.37e-05/2.353, allocations: 77.11 kB / 0.6983 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/2.354, allocations: 227.1 kB / 0.6985 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/2.354, allocations: 33.7 kB / 0.6986 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/2.354, allocations: 164.5 kB / 0.6987 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.213e-05/2.354, allocations: 115 kB / 0.6988 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.661e-05/2.354, allocations: 49.7 kB / 0.6989 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001436/2.354, allocations: 334.8 kB / 0.6992 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/2.354, allocations: 75.97 kB / 0.6993 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/2.354, allocations: 164.6 kB / 0.6994 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/2.355, allocations: 241.5 kB / 0.6997 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/2.355, allocations: 0 / 0.6997 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004798/2.355, allocations: 298.9 kB / 0.7 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/2.355, allocations: 4 kB / 0.7 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/2.355, allocations: 4.844 kB / 0.7 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009162/2.356, allocations: 136.8 kB / 0.7001 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.582e-05/2.356, allocations: 15.98 kB / 0.7001 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000595/2.357, allocations: 0.6155 MB / 0.7007 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/2.357, allocations: 44.78 kB / 0.7008 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/2.357, allocations: 4 kB / 0.7008 GB, free: 6.137 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (Diaphragm.C2.b,Diaphragm.C1.a,PuitsP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001461/2.357, allocations: 137.9 kB / 0.7009 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/2.357, allocations: 24.41 kB / 0.7009 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009598/2.358, allocations: 0.6005 MB / 0.7015 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005314/2.359, allocations: 223.2 kB / 0.7017 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/2.359, allocations: 3.938 kB / 0.7017 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/2.359, allocations: 4 kB / 0.7017 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/2.36, allocations: 0.6611 MB / 0.7024 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/2.36, allocations: 3.938 kB / 0.7024 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.9e-05/2.36, allocations: 23.92 kB / 0.7024 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003567/2.36, allocations: 112.7 kB / 0.7025 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/2.36, allocations: 8 kB / 0.7025 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005424/2.361, allocations: 0.6406 MB / 0.7031 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/2.361, allocations: 1.797 kB / 0.7031 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006281/2.361, allocations: 345.5 kB / 0.7035 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.792e-05/2.361, allocations: 32.31 kB / 0.7035 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.495e-05/2.362, allocations: 15.89 kB / 0.7035 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/2.362, allocations: 4.062 kB / 0.7035 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/2.362, allocations: 7.984 kB / 0.7035 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/2.362, allocations: 13 kB / 0.7035 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002556/2.362, allocations: 239.1 kB / 0.7038 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/2.362, allocations: 0 / 0.7038 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003155/2.365, allocations: 1.231 MB / 0.705 GB, free: 1.652 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005774/2.371, allocations: 2.559 MB / 0.7075 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006292/2.372, allocations: 229.4 kB / 0.7077 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/2.372, allocations: 0 / 0.7077 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000256/2.372, allocations: 88.2 kB / 0.7078 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007286/2.373, allocations: 130.7 kB / 0.7079 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004526/2.377, allocations: 3.1 MB / 0.7109 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/2.377, allocations: 156.9 kB / 0.7111 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000118/2.377, allocations: 29.38 kB / 0.7111 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/2.377, allocations: 95.39 kB / 0.7112 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of SimCode: time 3.7e-07/2.377, allocations: 0 / 0.7112 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0951/2.473, allocations: 49.12 MB / 0.7592 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/17.15, allocations: 13.44 kB / 0.7592 GB, free: 10.71 MB / 0.6231 GB " [Timeout remaining time 642] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm_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_TestDiaphragm.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.33225433388725] Failed to read output from testmodel.py, exit status != 0: 17.71497980086133 17.725239864 15.559876078 Calling exit ...