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.4669/0.4669, allocations: 111.6 MB / 131.4 MB, free: 4.961 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 2.225e-06/2.225e-06, allocations: 0 / 176.5 MB, free: 8.969 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.089e-05, allocations: 2.312 kB / 176.5 MB, free: 8.965 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.066/1.066, allocations: 257.3 MB / 433.8 MB, free: 64 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02526/1.092, allocations: 27.7 MB / 461.5 MB, free: 4.273 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/1.092, allocations: 4 kB / 461.5 MB, free: 4.27 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.0005357/1.093, allocations: 187.1 kB / 461.7 MB, free: 4.086 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002564/1.093, allocations: 159 kB / 461.8 MB, free: 3.93 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.01866/1.111, allocations: 9.616 MB / 471.4 MB, free: 10.28 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005031/1.112, allocations: 449.8 kB / 471.9 MB, free: 9.836 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/1.112, allocations: 104.8 kB / 472 MB, free: 9.734 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/1.112, allocations: 267.3 kB / 472.2 MB, free: 9.473 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/1.112, allocations: 99.72 kB / 472.3 MB, free: 9.375 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/1.112, allocations: 24 kB / 472.4 MB, free: 9.352 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.214/1.326, allocations: 19.24 MB / 491.6 MB, free: 12.41 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.618e-05/1.327, allocations: 53.72 kB / 491.7 MB, free: 12.41 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/1.327, allocations: 98.55 kB / 491.8 MB, free: 12.41 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01838/1.345, allocations: 11.22 MB / 0.4912 GB, free: 9.316 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/1.345, allocations: 1.344 kB / 0.4912 GB, free: 9.316 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.392e-06/1.345, allocations: 0 / 0.4912 GB, free: 9.316 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.836e-06/1.345, allocations: 2.094 kB / 0.4912 GB, free: 9.316 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.005084/1.35, allocations: 1.485 MB / 0.4926 GB, free: 8.293 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/1.35, allocations: 11.86 kB / 0.4927 GB, free: 8.289 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.894e-05/1.35, allocations: 54.58 kB / 0.4927 GB, free: 8.262 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/1.35, allocations: 182.9 kB / 0.4929 GB, free: 8.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/1.35, allocations: 18.06 kB / 0.4929 GB, free: 8.082 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/1.35, allocations: 17.59 kB / 0.4929 GB, free: 8.078 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/1.351, allocations: 259.3 kB / 0.4932 GB, free: 7.895 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/1.351, allocations: 7.781 kB / 0.4932 GB, free: 7.891 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/1.351, allocations: 8.781 kB / 0.4932 GB, free: 7.887 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/1.351, allocations: 19.42 kB / 0.4932 GB, free: 7.875 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.601e-05/1.351, allocations: 80.61 kB / 0.4933 GB, free: 7.859 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.008353/1.359, allocations: 5.603 MB / 0.4987 GB, free: 5.324 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/1.359, allocations: 75.94 kB / 0.4988 GB, free: 5.273 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.763e-05/1.359, allocations: 46 kB / 0.4989 GB, free: 5.258 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04865/1.408, allocations: 28.39 MB / 0.5266 GB, free: 11.18 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/1.408, allocations: 36.44 kB / 0.5266 GB, free: 11.14 MB / 458.7 MB Notification: Performance of pre-optimization done (n=52): time 1.924e-06/1.408, allocations: 0 / 0.5266 GB, free: 11.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=52): time 0.0005997/1.409, allocations: 324.3 kB / 0.5269 GB, free: 10.82 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/1.409, allocations: 59 kB / 0.527 GB, free: 10.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/1.409, allocations: 225.1 kB / 0.5272 GB, free: 10.54 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/1.409, allocations: 25.7 kB / 0.5272 GB, free: 10.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.207e-05/1.409, allocations: 203.6 kB / 0.5274 GB, free: 10.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.852e-05/1.409, allocations: 178.7 kB / 0.5276 GB, free: 10.14 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.29e-05/1.409, allocations: 76.41 kB / 0.5277 GB, free: 10.07 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/1.409, allocations: 0.5105 MB / 0.5282 GB, free: 9.559 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.221e-05/1.409, allocations: 32.48 kB / 0.5282 GB, free: 9.527 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.165e-05/1.409, allocations: 124.2 kB / 0.5283 GB, free: 9.387 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/1.409, allocations: 184.1 kB / 0.5285 GB, free: 9.199 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/1.409, allocations: 0 / 0.5285 GB, free: 9.199 MB / 458.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000245/1.41, allocations: 236.5 kB / 0.5287 GB, free: 8.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/1.41, allocations: 12.19 kB / 0.5287 GB, free: 8.969 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/1.41, allocations: 0 / 0.5287 GB, free: 8.969 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001638/1.41, allocations: 111.6 kB / 0.5288 GB, free: 8.859 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.12e-05/1.41, allocations: 11.62 kB / 0.5288 GB, free: 8.852 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003457/1.41, allocations: 0.8366 MB / 0.5297 GB, free: 7.988 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.05e-05/1.41, allocations: 30.83 kB / 0.5297 GB, free: 7.961 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/1.41, allocations: 8 kB / 0.5297 GB, free: 7.953 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.848e-05/1.41, allocations: 173.4 kB / 0.5299 GB, free: 7.777 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/1.41, allocations: 23.84 kB / 0.5299 GB, free: 7.754 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005522/1.411, allocations: 0.7422 MB / 0.5306 GB, free: 7.066 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001965/1.411, allocations: 256.3 kB / 0.5309 GB, free: 6.816 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/1.411, allocations: 3.938 kB / 0.5309 GB, free: 6.812 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.411, allocations: 0 / 0.5309 GB, free: 6.812 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/1.412, allocations: 1.211 MB / 0.532 GB, free: 5.566 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/1.412, allocations: 12.08 kB / 0.5321 GB, free: 5.555 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.835e-05/1.412, allocations: 66.78 kB / 0.5321 GB, free: 5.496 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.829e-05/1.413, allocations: 77.42 kB / 0.5322 GB, free: 5.422 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/1.413, allocations: 16.67 kB / 0.5322 GB, free: 5.406 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000273/1.413, allocations: 0.8481 MB / 0.533 GB, free: 4.539 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.413, allocations: 11.47 kB / 0.533 GB, free: 4.531 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/1.413, allocations: 0.6384 MB / 0.5337 GB, free: 3.801 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/1.413, allocations: 54.64 kB / 0.5337 GB, free: 3.754 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/1.413, allocations: 20.95 kB / 0.5337 GB, free: 3.734 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.202e-05/1.413, allocations: 12 kB / 0.5338 GB, free: 3.723 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/1.413, allocations: 48.33 kB / 0.5338 GB, free: 3.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/1.413, allocations: 12 kB / 0.5338 GB, free: 3.668 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001027/1.413, allocations: 228.1 kB / 0.534 GB, free: 3.449 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/1.413, allocations: 0 / 0.534 GB, free: 3.449 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003284/1.417, allocations: 1.359 MB / 0.5354 GB, free: 2.09 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.00436/1.421, allocations: 1.889 MB / 0.5372 GB, free: 400 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004558/1.422, allocations: 383.9 kB / 0.5376 GB, free: 8 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/1.422, allocations: 0 / 0.5376 GB, free: 8 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001486/1.422, allocations: 155.4 kB / 0.5377 GB, free: 15.88 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006312/1.422, allocations: 201.7 kB / 0.5379 GB, free: 15.69 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/1.424, allocations: 0.9372 MB / 0.5388 GB, free: 14.67 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.22e-05/1.424, allocations: 122.1 kB / 0.5389 GB, free: 14.52 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001122/1.424, allocations: 38.94 kB / 0.539 GB, free: 14.49 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/1.424, allocations: 190.1 kB / 0.5392 GB, free: 14.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.163e-06/1.424, allocations: 0 / 0.5392 GB, free: 14.3 MB / 474.7 MB Notification: Performance of Templates: time 0.06008/1.484, allocations: 61.94 MB / 0.5996 GB, free: 0.6328 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: 6.224625800270587]