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 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7421/0.7421, allocations: 150.8 MB / 166.1 MB, free: 15.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.581e-05/1.579e-05, allocations: 4 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1322, allocations: 31.97 MB / 236.8 MB, free: 5.434 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine): time 1.437/1.569, allocations: 293.8 MB / 0.5181 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03335/1.603, allocations: 32.36 MB / 0.5497 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003003/1.603, allocations: 4 kB / 0.5497 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004803/1.603, allocations: 143.3 kB / 0.5499 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000225/1.604, allocations: 119.2 kB / 0.55 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01793/1.622, allocations: 6.828 MB / 0.5567 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005505/1.622, allocations: 410.1 kB / 0.557 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/1.622, allocations: 101.3 kB / 0.5571 GB, free: 5.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/1.623, allocations: 143.3 kB / 0.5573 GB, free: 5.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/1.623, allocations: 127.3 kB / 0.5574 GB, free: 5.215 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/1.623, allocations: 12 kB / 0.5574 GB, free: 5.203 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02763/1.65, allocations: 20.29 MB / 0.5772 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.202e-05/1.65, allocations: 39.78 kB / 0.5773 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001845/1.651, allocations: 172.9 kB / 0.5774 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0129/1.664, allocations: 8.564 MB / 0.5858 GB, free: 8.09 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/1.664, allocations: 4 kB / 0.5858 GB, free: 8.086 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.242e-06/1.664, allocations: 0 / 0.5858 GB, free: 8.086 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/1.664, allocations: 0 / 0.5858 GB, free: 8.086 MB / 478.1 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.003623/1.667, allocations: 1.373 MB / 0.5871 GB, free: 6.664 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/1.667, allocations: 8.031 kB / 0.5871 GB, free: 6.656 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.447e-05/1.667, allocations: 32.56 kB / 0.5872 GB, free: 6.625 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/1.668, allocations: 239.8 kB / 0.5874 GB, free: 6.352 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/1.668, allocations: 20.56 kB / 0.5874 GB, free: 6.332 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/1.668, allocations: 20 kB / 0.5874 GB, free: 6.312 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004344/1.668, allocations: 345.1 kB / 0.5878 GB, free: 5.945 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/1.668, allocations: 4 kB / 0.5878 GB, free: 5.941 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/1.668, allocations: 12 kB / 0.5878 GB, free: 5.93 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/1.668, allocations: 23.92 kB / 0.5878 GB, free: 5.906 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/1.668, allocations: 206.3 kB / 0.588 GB, free: 5.707 MB / 478.1 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.01802/1.686, allocations: 9.941 MB / 0.5977 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/1.687, allocations: 150.9 kB / 0.5979 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/1.687, allocations: 115.1 kB / 0.598 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1057/1.793, allocations: 52.06 MB / 0.6488 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/1.793, allocations: 34.5 kB / 0.6488 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=52): time 1.894e-06/1.793, allocations: 0 / 0.6488 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52): time 0.001001/1.794, allocations: 0.525 MB / 0.6494 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/1.794, allocations: 55.41 kB / 0.6494 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/1.794, allocations: 228.9 kB / 0.6496 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/1.794, allocations: 37.62 kB / 0.6497 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.015e-05/1.794, allocations: 141 kB / 0.6498 GB, free: 416 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.476e-05/1.794, allocations: 169.4 kB / 0.65 GB, free: 244 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/1.794, allocations: 41.69 kB / 0.65 GB, free: 196 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.794, allocations: 338.8 kB / 0.6503 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/1.794, allocations: 80.53 kB / 0.6504 GB, free: 15.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/1.794, allocations: 153.3 kB / 0.6505 GB, free: 15.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/1.795, allocations: 257.9 kB / 0.6508 GB, free: 15.33 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.795, allocations: 3.938 kB / 0.6508 GB, free: 15.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004427/1.795, allocations: 351.2 kB / 0.6511 GB, free: 14.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/1.795, allocations: 4 kB / 0.6511 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.795, allocations: 0 / 0.6511 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002451/1.796, allocations: 112.8 kB / 0.6512 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.815e-05/1.796, allocations: 11.94 kB / 0.6513 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004064/1.796, allocations: 0.6149 MB / 0.6519 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/1.796, allocations: 31.53 kB / 0.6519 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/1.796, allocations: 12 kB / 0.6519 GB, free: 14.16 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.0001385/1.796, allocations: 151.1 kB / 0.652 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/1.796, allocations: 23.62 kB / 0.6521 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008051/1.797, allocations: 0.8001 MB / 0.6528 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004524/1.798, allocations: 396.4 kB / 0.6532 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/1.798, allocations: 0 / 0.6532 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/1.798, allocations: 0 / 0.6532 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/1.799, allocations: 1.478 MB / 0.6547 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/1.799, allocations: 7.984 kB / 0.6547 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/1.799, allocations: 67.86 kB / 0.6547 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000177/1.8, allocations: 125.3 kB / 0.6549 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/1.8, allocations: 12 kB / 0.6549 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003592/1.8, allocations: 0.6354 MB / 0.6555 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.8, allocations: 8 kB / 0.6555 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005924/1.801, allocations: 0.6365 MB / 0.6561 GB, free: 9.547 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/1.801, allocations: 172.2 kB / 0.6563 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/1.801, allocations: 16 kB / 0.6563 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/1.801, allocations: 8 kB / 0.6563 GB, free: 9.336 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/1.801, allocations: 51.83 kB / 0.6564 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/1.801, allocations: 12 kB / 0.6564 GB, free: 9.273 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002622/1.801, allocations: 291 kB / 0.6566 GB, free: 8.988 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/1.801, allocations: 96 / 0.6566 GB, free: 8.988 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002931/1.804, allocations: 1.335 MB / 0.6579 GB, free: 7.652 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.004844/1.809, allocations: 1.63 MB / 0.6595 GB, free: 6.016 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006181/1.81, allocations: 476.5 kB / 0.66 GB, free: 5.523 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/1.81, allocations: 4.375 kB / 0.66 GB, free: 5.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002605/1.81, allocations: 203.1 kB / 0.6602 GB, free: 5.324 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/1.811, allocations: 223.8 kB / 0.6604 GB, free: 5.109 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/1.812, allocations: 1.114 MB / 0.6615 GB, free: 3.902 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/1.813, allocations: 0.8401 MB / 0.6623 GB, free: 3.035 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001436/1.813, allocations: 46.95 kB / 0.6624 GB, free: 2.992 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/1.813, allocations: 35.38 kB / 0.6624 GB, free: 2.957 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/1.813, allocations: 0 / 0.6624 GB, free: 2.957 MB / 0.545 GB Notification: Performance of Templates: time 0.2154/2.028, allocations: 53.1 MB / 0.7142 GB, free: 223.7 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: