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.8661/0.8661, allocations: 153.8 MB / 173.4 MB, free: 4.957 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.000535/0.000535, allocations: 15.97 kB / 251.1 MB, free: 3.961 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1593, allocations: 33.36 MB / 284.5 MB, free: 2.148 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.879/2.039, allocations: 307.7 MB / 0.5783 GB, free: 16.01 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02966/2.068, allocations: 29.2 MB / 0.6068 GB, free: 2.676 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003109/2.069, allocations: 3.469 kB / 0.6068 GB, free: 2.676 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.0006161/2.069, allocations: 238.3 kB / 0.607 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002807/2.069, allocations: 163 kB / 0.6072 GB, free: 2.461 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.02518/2.095, allocations: 9.69 MB / 0.6166 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007822/2.095, allocations: 435 kB / 0.6171 GB, free: 13 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/2.096, allocations: 98.19 kB / 0.6172 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/2.096, allocations: 188.2 kB / 0.6173 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/2.096, allocations: 129.2 kB / 0.6175 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/2.096, allocations: 21.12 kB / 0.6175 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0393/2.135, allocations: 20.56 MB / 0.6376 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/2.136, allocations: 55.77 kB / 0.6376 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000286/2.136, allocations: 155.2 kB / 0.6378 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02021/2.156, allocations: 8.605 MB / 0.6462 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/2.156, allocations: 0.6562 kB / 0.6462 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.225e-06/2.156, allocations: 0.8438 kB / 0.6462 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.003e-05/2.156, allocations: 0 / 0.6462 GB, free: 15.86 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.004894/2.161, allocations: 1.389 MB / 0.6475 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/2.161, allocations: 8.031 kB / 0.6475 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.982e-05/2.161, allocations: 37.27 kB / 0.6476 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/2.161, allocations: 190.8 kB / 0.6477 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/2.161, allocations: 18.16 kB / 0.6478 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/2.161, allocations: 20 kB / 0.6478 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000546/2.162, allocations: 357.1 kB / 0.6481 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/2.162, allocations: 1.875 kB / 0.6481 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/2.162, allocations: 13.31 kB / 0.6481 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/2.162, allocations: 15.98 kB / 0.6481 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003195/2.162, allocations: 216.6 kB / 0.6484 GB, free: 13.53 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.01933/2.182, allocations: 6.475 MB / 0.6547 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/2.182, allocations: 115 kB / 0.6548 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/2.182, allocations: 81.72 kB / 0.6549 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1155/2.298, allocations: 32.84 MB / 0.6869 GB, free: 5.824 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/2.298, allocations: 38.59 kB / 0.687 GB, free: 5.777 MB / 0.545 GB Notification: Performance of pre-optimization done (n=52): time 2.305e-06/2.298, allocations: 3.938 kB / 0.687 GB, free: 5.773 MB / 0.545 GB Notification: Performance of matching and sorting (n=52): time 0.001248/2.299, allocations: 452.7 kB / 0.6874 GB, free: 5.324 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/2.299, allocations: 51.41 kB / 0.6875 GB, free: 5.262 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/2.299, allocations: 229.1 kB / 0.6877 GB, free: 5.027 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/2.299, allocations: 29.64 kB / 0.6877 GB, free: 4.992 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/2.299, allocations: 153.2 kB / 0.6878 GB, free: 4.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/2.299, allocations: 174.4 kB / 0.688 GB, free: 4.668 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.554e-05/2.3, allocations: 57.69 kB / 0.6881 GB, free: 4.605 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001809/2.3, allocations: 346.7 kB / 0.6884 GB, free: 4.258 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/2.3, allocations: 80.48 kB / 0.6885 GB, free: 4.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/2.3, allocations: 145 kB / 0.6886 GB, free: 4.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/2.3, allocations: 273.6 kB / 0.6889 GB, free: 3.734 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/2.3, allocations: 4.781 kB / 0.6889 GB, free: 3.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005378/2.301, allocations: 335 kB / 0.6892 GB, free: 3.395 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/2.301, allocations: 4 kB / 0.6892 GB, free: 3.391 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/2.301, allocations: 9.125 kB / 0.6892 GB, free: 3.383 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003064/2.301, allocations: 113.5 kB / 0.6893 GB, free: 3.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.315e-05/2.301, allocations: 4 kB / 0.6893 GB, free: 3.266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005635/2.302, allocations: 0.6283 MB / 0.6899 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/2.302, allocations: 35.67 kB / 0.69 GB, free: 2.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/2.302, allocations: 8 kB / 0.69 GB, free: 2.57 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.0001538/2.302, allocations: 147 kB / 0.6901 GB, free: 2.418 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/2.302, allocations: 23.81 kB / 0.6901 GB, free: 2.395 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/2.303, allocations: 0.8106 MB / 0.6909 GB, free: 1.543 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005736/2.304, allocations: 382 kB / 0.6913 GB, free: 1.164 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/2.304, allocations: 0 / 0.6913 GB, free: 1.164 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/2.304, allocations: 7.984 kB / 0.6913 GB, free: 1.156 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002024/2.306, allocations: 1.435 MB / 0.6927 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/2.306, allocations: 4.656 kB / 0.6927 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/2.306, allocations: 71.91 kB / 0.6928 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001858/2.306, allocations: 88.81 kB / 0.6929 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/2.306, allocations: 20.73 kB / 0.6929 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005021/2.307, allocations: 0.632 MB / 0.6935 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/2.307, allocations: 13.86 kB / 0.6935 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007557/2.308, allocations: 0.6412 MB / 0.6941 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.405e-05/2.308, allocations: 55.56 kB / 0.6942 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.972e-05/2.308, allocations: 27.89 kB / 0.6942 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/2.308, allocations: 16.98 kB / 0.6942 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/2.308, allocations: 40.39 kB / 0.6943 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/2.308, allocations: 20 kB / 0.6943 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003322/2.308, allocations: 291 kB / 0.6946 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/2.308, allocations: 0 / 0.6946 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003515/2.312, allocations: 1.356 MB / 0.6959 GB, free: 12.23 MB / 0.5606 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.005696/2.318, allocations: 1.646 MB / 0.6975 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008436/2.318, allocations: 465 kB / 0.6979 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/2.318, allocations: 0 / 0.6979 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003187/2.319, allocations: 185 kB / 0.6981 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/2.32, allocations: 218.7 kB / 0.6983 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/2.322, allocations: 0.9911 MB / 0.6993 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/2.322, allocations: 0.8372 MB / 0.7001 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.002e-05/2.322, allocations: 35.44 kB / 0.7001 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of SimCode: time 6.31e-07/2.322, allocations: 0 / 0.7001 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of Templates: time 0.04636/2.369, allocations: 29.99 MB / 0.7294 GB, free: 10.11 MB / 0.5919 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: 11.596171035896987] Failed to read output from testmodel.py, exit status != 0: 2.541506847832352 2.557525675 0.398102769 Calling exit ...