Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.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.8977/0.8977, allocations: 153.8 MB / 172.7 MB, free: 4.848 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: translateModel(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0006184/0.0006184, allocations: 19.97 kB / 250.3 MB, free: 3.879 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1806, allocations: 33.36 MB / 283.7 MB, free: 2.066 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.TestSteamEngine): time 1.958/2.139, allocations: 307.7 MB / 0.5775 GB, free: 17.28 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02999/2.169, allocations: 25.9 MB / 0.6028 GB, free: 6.078 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002872/2.169, allocations: 8.875 kB / 0.6028 GB, free: 6.074 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/SteamEngine.mo:35:3-37: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/Machines/SteamEngine.mo:38:3-39:44: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/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/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). Notification: Performance of NFTyping.typeComponents: time 0.0006116/2.17, allocations: 177.8 kB / 0.603 GB, free: 6.008 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000297/2.17, allocations: 157.6 kB / 0.6032 GB, free: 5.906 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/WaterSteam/IF97_packages.mo:1445:9-1445:35:writable] Warning: h 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.0262/2.196, allocations: 9.557 MB / 0.6125 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006369/2.197, allocations: 438.7 kB / 0.6129 GB, free: 440 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/2.197, allocations: 93.95 kB / 0.613 GB, free: 380 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/2.197, allocations: 179 kB / 0.6132 GB, free: 272 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/2.198, allocations: 132.8 kB / 0.6133 GB, free: 192 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/2.198, allocations: 19.16 kB / 0.6133 GB, free: 192 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03743/2.235, allocations: 19.26 MB / 0.6321 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/2.235, allocations: 43.8 kB / 0.6322 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000249/2.235, allocations: 129.3 kB / 0.6323 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01983/2.255, allocations: 8.609 MB / 0.6407 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/2.255, allocations: 0 / 0.6407 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/2.255, allocations: 0.5625 kB / 0.6407 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.546e-06/2.255, allocations: 0 / 0.6407 GB, free: 4.641 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.004648/2.26, allocations: 1.377 MB / 0.642 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/2.26, allocations: 12.03 kB / 0.642 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.724e-05/2.26, allocations: 32.7 kB / 0.6421 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/2.26, allocations: 182 kB / 0.6422 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/2.26, allocations: 21.41 kB / 0.6423 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/2.26, allocations: 20 kB / 0.6423 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005461/2.261, allocations: 353.8 kB / 0.6426 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/2.261, allocations: 0 / 0.6426 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/2.261, allocations: 8.562 kB / 0.6426 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/2.261, allocations: 23.98 kB / 0.6427 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/2.261, allocations: 216.6 kB / 0.6429 GB, free: 2.324 MB / 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.02074/2.282, allocations: 6.043 MB / 0.6488 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/2.282, allocations: 115.7 kB / 0.6489 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/2.282, allocations: 77.72 kB / 0.6489 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1281/2.41, allocations: 32.96 MB / 0.6811 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/2.411, allocations: 32.8 kB / 0.6812 GB, free: 11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=52): time 2.435e-06/2.411, allocations: 0 / 0.6812 GB, free: 11 MB / 0.545 GB Notification: Performance of matching and sorting (n=52): time 0.001375/2.412, allocations: 452.7 kB / 0.6816 GB, free: 10.54 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/2.412, allocations: 55.39 kB / 0.6816 GB, free: 10.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/2.412, allocations: 171.8 kB / 0.6818 GB, free: 10.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/2.412, allocations: 25.7 kB / 0.6818 GB, free: 10.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/2.412, allocations: 160.9 kB / 0.682 GB, free: 10.11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/2.413, allocations: 178.4 kB / 0.6822 GB, free: 9.934 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/2.413, allocations: 57.69 kB / 0.6822 GB, free: 9.871 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001725/2.413, allocations: 334.8 kB / 0.6825 GB, free: 9.535 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/2.413, allocations: 88.41 kB / 0.6826 GB, free: 9.449 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/2.413, allocations: 145 kB / 0.6828 GB, free: 9.289 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004091/2.414, allocations: 269.6 kB / 0.683 GB, free: 9.008 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/2.414, allocations: 4 kB / 0.683 GB, free: 9.004 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005965/2.414, allocations: 339.3 kB / 0.6833 GB, free: 8.668 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/2.414, allocations: 5.781 kB / 0.6833 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/2.414, allocations: 0 / 0.6833 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003253/2.415, allocations: 120.7 kB / 0.6835 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.467e-05/2.415, allocations: 8 kB / 0.6835 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005888/2.415, allocations: 0.5955 MB / 0.6841 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/2.415, allocations: 43.7 kB / 0.6841 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/2.415, allocations: 4 kB / 0.6841 GB, free: 7.867 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 (sourceP.C.b,puitsP.C.a,steamEngine1.C2.b,steamEngine1.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001708/2.416, allocations: 141.8 kB / 0.6842 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.266e-05/2.416, allocations: 19.86 kB / 0.6843 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/2.417, allocations: 0.8114 MB / 0.685 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005996/2.417, allocations: 383.2 kB / 0.6854 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/2.417, allocations: 1.375 kB / 0.6854 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/2.417, allocations: 7.984 kB / 0.6854 GB, free: 6.453 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/2.419, allocations: 1.331 MB / 0.6867 GB, free: 5.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/2.419, allocations: 8 kB / 0.6867 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/2.42, allocations: 71.84 kB / 0.6868 GB, free: 4.938 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002123/2.42, allocations: 92.8 kB / 0.6869 GB, free: 4.844 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/2.42, allocations: 12 kB / 0.6869 GB, free: 4.832 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005409/2.42, allocations: 0.6301 MB / 0.6875 GB, free: 4.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.919e-06/2.42, allocations: 16.97 kB / 0.6875 GB, free: 4.164 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009155/2.421, allocations: 0.6326 MB / 0.6881 GB, free: 3.449 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.215e-05/2.421, allocations: 39.69 kB / 0.6882 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.976e-05/2.421, allocations: 27.83 kB / 0.6882 GB, free: 3.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/2.422, allocations: 12 kB / 0.6882 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/2.422, allocations: 43.81 kB / 0.6883 GB, free: 3.328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/2.422, allocations: 20 kB / 0.6883 GB, free: 3.309 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000283/2.422, allocations: 245.2 kB / 0.6885 GB, free: 3.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/2.422, allocations: 3.938 kB / 0.6885 GB, free: 3.066 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004212/2.426, allocations: 1.356 MB / 0.6898 GB, free: 1.707 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 Backend phase and start with SimCode phase: time 0.007336/2.434, allocations: 1.654 MB / 0.6915 GB, free: 76 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009858/2.435, allocations: 464.2 kB / 0.6919 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/2.435, allocations: 0 / 0.6919 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003706/2.435, allocations: 189.2 kB / 0.6921 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/2.436, allocations: 187 kB / 0.6923 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/2.438, allocations: 0.9407 MB / 0.6932 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/2.438, allocations: 236.8 kB / 0.6934 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001648/2.438, allocations: 34.8 kB / 0.6934 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.422e-05/2.438, allocations: 35.44 kB / 0.6935 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of SimCode: time 6.41e-07/2.438, allocations: 0 / 0.6935 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.08067/2.519, allocations: 53.31 MB / 0.7455 GB, free: 9.109 MB / 0.6075 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.082079228013754] Failed to read output from testmodel.py, exit status != 0: 2.7097875475883484 2.953358807 0.6955065420000001 Calling exit ...