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.4825/0.4825, allocations: 111.6 MB / 132.2 MB, free: 4.949 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/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 1.744e-06/1.744e-06, allocations: 3.938 kB / 177.3 MB, free: 8.965 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.59e-05/1.764e-05, allocations: 2.312 kB / 177.3 MB, free: 8.961 MB / 170.7 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.042/1.042, allocations: 257.3 MB / 434.6 MB, free: 72 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0265/1.068, allocations: 27.69 MB / 462.3 MB, free: 4.285 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001936/1.068, allocations: 4 kB / 462.3 MB, free: 4.281 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/SteamEngine.mo:24:3-25:79: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:26:3-27:77: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:19:3-20:80: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:19:3-20:78: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.0004933/1.069, allocations: 179.1 kB / 462.4 MB, free: 4.105 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002362/1.069, allocations: 162.9 kB / 462.6 MB, free: 3.945 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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:964:9-964: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.01775/1.087, allocations: 9.62 MB / 472.2 MB, free: 10.29 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005027/1.087, allocations: 445.8 kB / 472.6 MB, free: 9.852 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/1.088, allocations: 112.8 kB / 472.8 MB, free: 9.742 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/1.088, allocations: 263.2 kB / 473 MB, free: 9.484 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/1.088, allocations: 99.72 kB / 473.1 MB, free: 9.387 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/1.088, allocations: 20 kB / 473.1 MB, free: 9.367 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2252/1.313, allocations: 19.24 MB / 492.4 MB, free: 12.46 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.622e-05/1.313, allocations: 55.3 kB / 492.4 MB, free: 12.46 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001719/1.314, allocations: 101.7 kB / 492.5 MB, free: 12.46 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01803/1.332, allocations: 11.22 MB / 0.4919 GB, free: 9.352 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.332, allocations: 0.75 kB / 0.4919 GB, free: 9.352 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.493e-06/1.332, allocations: 0 / 0.4919 GB, free: 9.352 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/1.332, allocations: 1.938 kB / 0.4919 GB, free: 9.352 MB / 426.7 MB 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.004284/1.336, allocations: 1.487 MB / 0.4934 GB, free: 8.328 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/1.336, allocations: 14.05 kB / 0.4934 GB, free: 8.324 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.475e-05/1.336, allocations: 54.5 kB / 0.4935 GB, free: 8.297 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/1.336, allocations: 182.6 kB / 0.4936 GB, free: 8.121 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/1.336, allocations: 19.59 kB / 0.4936 GB, free: 8.113 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/1.336, allocations: 16.38 kB / 0.4937 GB, free: 8.109 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/1.336, allocations: 258.5 kB / 0.4939 GB, free: 7.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/1.336, allocations: 9.719 kB / 0.4939 GB, free: 7.926 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/1.336, allocations: 6.125 kB / 0.4939 GB, free: 7.922 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/1.336, allocations: 18.8 kB / 0.4939 GB, free: 7.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/1.337, allocations: 92.72 kB / 0.494 GB, free: 7.891 MB / 426.7 MB 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.01043/1.347, allocations: 5.579 MB / 0.4995 GB, free: 5.348 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/1.347, allocations: 80.67 kB / 0.4996 GB, free: 5.305 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.55e-05/1.347, allocations: 42.39 kB / 0.4996 GB, free: 5.285 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05235/1.4, allocations: 28.25 MB / 0.5272 GB, free: 11.36 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/1.4, allocations: 37.39 kB / 0.5272 GB, free: 11.32 MB / 458.7 MB Notification: Performance of pre-optimization done (n=52): time 3.516e-06/1.4, allocations: 0.8906 kB / 0.5272 GB, free: 11.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=52): time 0.0006162/1.4, allocations: 321.9 kB / 0.5275 GB, free: 11 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/1.4, allocations: 59.34 kB / 0.5276 GB, free: 10.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/1.4, allocations: 229.6 kB / 0.5278 GB, free: 10.71 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/1.4, allocations: 29.7 kB / 0.5278 GB, free: 10.67 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/1.4, allocations: 197.9 kB / 0.528 GB, free: 10.48 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.966e-05/1.4, allocations: 176.4 kB / 0.5282 GB, free: 10.32 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-05/1.401, allocations: 78.19 kB / 0.5283 GB, free: 10.25 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/1.401, allocations: 0.5177 MB / 0.5288 GB, free: 9.73 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.106e-05/1.401, allocations: 29.11 kB / 0.5288 GB, free: 9.703 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.419e-05/1.401, allocations: 120.9 kB / 0.5289 GB, free: 9.562 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/1.401, allocations: 178.9 kB / 0.5291 GB, free: 9.379 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.401, allocations: 0 / 0.5291 GB, free: 9.379 MB / 458.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002512/1.401, allocations: 243.2 kB / 0.5293 GB, free: 9.152 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/1.401, allocations: 5.25 kB / 0.5293 GB, free: 9.148 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.401, allocations: 4.625 kB / 0.5293 GB, free: 9.145 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/1.401, allocations: 102.6 kB / 0.5294 GB, free: 9.043 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.805e-05/1.401, allocations: 15.83 kB / 0.5294 GB, free: 9.031 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003405/1.402, allocations: 0.8386 MB / 0.5303 GB, free: 8.168 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.298e-05/1.402, allocations: 35.67 kB / 0.5303 GB, free: 8.133 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/1.402, allocations: 9 kB / 0.5303 GB, free: 8.125 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 (steamEngine1.C1.a,steamEngine1.C2.b,puitsP.C.a,sourceP.C.b) * 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 9.363e-05/1.402, allocations: 174 kB / 0.5305 GB, free: 7.949 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/1.402, allocations: 20.66 kB / 0.5305 GB, free: 7.93 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005525/1.403, allocations: 0.7431 MB / 0.5312 GB, free: 7.242 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002169/1.403, allocations: 253.4 kB / 0.5314 GB, free: 6.992 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/1.403, allocations: 7.938 kB / 0.5315 GB, free: 6.984 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/1.403, allocations: 3.984 kB / 0.5315 GB, free: 6.98 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/1.404, allocations: 1.215 MB / 0.5326 GB, free: 5.734 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.404, allocations: 5.188 kB / 0.5327 GB, free: 5.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.987e-05/1.404, allocations: 67.25 kB / 0.5327 GB, free: 5.668 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001045/1.404, allocations: 76.3 kB / 0.5328 GB, free: 5.598 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/1.404, allocations: 16 kB / 0.5328 GB, free: 5.582 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003376/1.404, allocations: 0.8567 MB / 0.5336 GB, free: 4.707 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/1.404, allocations: 6.625 kB / 0.5336 GB, free: 4.703 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/1.405, allocations: 0.635 MB / 0.5343 GB, free: 3.973 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/1.405, allocations: 44.7 kB / 0.5343 GB, free: 3.934 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/1.405, allocations: 28.81 kB / 0.5343 GB, free: 3.906 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.822e-05/1.405, allocations: 12.77 kB / 0.5343 GB, free: 3.895 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/1.405, allocations: 38.98 kB / 0.5344 GB, free: 3.859 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/1.405, allocations: 16 kB / 0.5344 GB, free: 3.844 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001048/1.405, allocations: 231.3 kB / 0.5346 GB, free: 3.625 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.1e-08/1.405, allocations: 0 / 0.5346 GB, free: 3.625 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003011/1.408, allocations: 1.36 MB / 0.536 GB, free: 2.262 MB / 458.7 MB 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.006299/1.414, allocations: 1.884 MB / 0.5378 GB, free: 0.5742 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006231/1.415, allocations: 397.6 kB / 0.5382 GB, free: 192 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.415, allocations: 0 / 0.5382 GB, free: 192 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001458/1.415, allocations: 149.3 kB / 0.5383 GB, free: 60 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006749/1.416, allocations: 194.8 kB / 0.5385 GB, free: 15.88 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/1.417, allocations: 0.9331 MB / 0.5394 GB, free: 14.86 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.448e-05/1.417, allocations: 134.1 kB / 0.5395 GB, free: 14.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 9.007e-05/1.417, allocations: 38.22 kB / 0.5396 GB, free: 14.67 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/1.417, allocations: 182.1 kB / 0.5397 GB, free: 14.49 MB / 474.7 MB Notification: Performance of SimCode: time 1.273e-06/1.417, allocations: 0 / 0.5397 GB, free: 14.49 MB / 474.7 MB Notification: Performance of Templates: time 0.05452/1.472, allocations: 62.08 MB / 0.6004 GB, free: 0.7305 MB / 0.5105 GB " [Timeout remaining time 658] 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.1869744709692895]