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.8665/0.8665, allocations: 150.8 MB / 166.6 MB, free: 11.18 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003735, allocations: 15.97 kB / 204.7 MB, free: 6.168 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2194, allocations: 31.33 MB / 236 MB, free: 3.887 MB / 186.7 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine): time 1.794/2.013, allocations: 292.2 MB / 0.5158 GB, free: 9.852 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03805/2.051, allocations: 32.83 MB / 0.5479 GB, free: 9.172 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/2.052, allocations: 4 kB / 0.5479 GB, free: 9.168 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.000509/2.052, allocations: 143.3 kB / 0.548 GB, free: 9.027 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002212/2.052, allocations: 123.2 kB / 0.5481 GB, free: 8.906 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01812/2.071, allocations: 6.829 MB / 0.5548 GB, free: 2.094 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005479/2.071, allocations: 410.1 kB / 0.5552 GB, free: 1.691 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/2.071, allocations: 116 kB / 0.5553 GB, free: 1.578 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/2.072, allocations: 163.2 kB / 0.5554 GB, free: 1.418 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/2.072, allocations: 127.3 kB / 0.5556 GB, free: 1.293 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/2.072, allocations: 15.94 kB / 0.5556 GB, free: 1.277 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.031/2.103, allocations: 20.31 MB / 0.5754 GB, free: 12.95 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/2.103, allocations: 43.8 kB / 0.5754 GB, free: 12.9 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002293/2.103, allocations: 151.2 kB / 0.5756 GB, free: 12.75 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01972/2.123, allocations: 8.608 MB / 0.584 GB, free: 4.129 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/2.123, allocations: 4 kB / 0.584 GB, free: 4.125 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.793e-06/2.123, allocations: 0 / 0.584 GB, free: 4.125 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.486e-06/2.123, allocations: 0 / 0.584 GB, free: 4.125 MB / 474.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.004692/2.128, allocations: 1.413 MB / 0.5854 GB, free: 2.664 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/2.128, allocations: 12.03 kB / 0.5854 GB, free: 2.652 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.712e-05/2.128, allocations: 32.47 kB / 0.5854 GB, free: 2.621 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/2.128, allocations: 243.7 kB / 0.5857 GB, free: 2.344 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/2.128, allocations: 16.56 kB / 0.5857 GB, free: 2.328 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/2.128, allocations: 20 kB / 0.5857 GB, free: 2.309 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004601/2.129, allocations: 353.1 kB / 0.586 GB, free: 1.934 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/2.129, allocations: 0 / 0.586 GB, free: 1.934 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/2.129, allocations: 4 kB / 0.586 GB, free: 1.93 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/2.129, allocations: 19.98 kB / 0.5861 GB, free: 1.91 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/2.129, allocations: 208.9 kB / 0.5862 GB, free: 1.707 MB / 474.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.01938/2.148, allocations: 9.886 MB / 0.5959 GB, free: 6.809 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/2.149, allocations: 147 kB / 0.596 GB, free: 6.656 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/2.149, allocations: 109.7 kB / 0.5961 GB, free: 6.547 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1154/2.264, allocations: 51.56 MB / 0.6465 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/2.264, allocations: 38.5 kB / 0.6465 GB, free: 14 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=52): time 3.567e-06/2.264, allocations: 4 kB / 0.6465 GB, free: 14 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52): time 0.001065/2.265, allocations: 0.5133 MB / 0.647 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/2.265, allocations: 59.41 kB / 0.6471 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/2.266, allocations: 233 kB / 0.6473 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/2.266, allocations: 29.64 kB / 0.6474 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.651e-05/2.266, allocations: 148.9 kB / 0.6475 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.626e-05/2.266, allocations: 169.5 kB / 0.6477 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.571e-05/2.266, allocations: 61.56 kB / 0.6477 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001004/2.266, allocations: 338.8 kB / 0.648 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/2.266, allocations: 84.53 kB / 0.6481 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/2.266, allocations: 145.4 kB / 0.6483 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/2.267, allocations: 269.8 kB / 0.6485 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/2.267, allocations: 3.938 kB / 0.6485 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004892/2.267, allocations: 339.3 kB / 0.6488 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/2.267, allocations: 8 kB / 0.6488 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/2.267, allocations: 0 / 0.6488 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002761/2.267, allocations: 116.7 kB / 0.649 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.414e-05/2.267, allocations: 8.188 kB / 0.649 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004366/2.268, allocations: 0.6069 MB / 0.6496 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/2.268, allocations: 35.56 kB / 0.6496 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/2.268, allocations: 8 kB / 0.6496 GB, free: 10.71 MB / 0.5417 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.0001352/2.268, allocations: 147.2 kB / 0.6497 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/2.268, allocations: 27.69 kB / 0.6498 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008683/2.269, allocations: 0.8039 MB / 0.6506 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004842/2.27, allocations: 388.3 kB / 0.6509 GB, free: 9.297 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/2.27, allocations: 0 / 0.6509 GB, free: 9.297 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/2.27, allocations: 3.984 kB / 0.6509 GB, free: 9.293 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/2.271, allocations: 1.471 MB / 0.6524 GB, free: 7.695 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/2.271, allocations: 12 kB / 0.6524 GB, free: 7.684 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/2.272, allocations: 71.84 kB / 0.6524 GB, free: 7.613 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001982/2.272, allocations: 125.4 kB / 0.6526 GB, free: 7.488 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/2.272, allocations: 16 kB / 0.6526 GB, free: 7.473 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003954/2.272, allocations: 0.6303 MB / 0.6532 GB, free: 6.816 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/2.272, allocations: 11.94 kB / 0.6532 GB, free: 6.805 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/2.273, allocations: 1.408 MB / 0.6546 GB, free: 5.273 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.999e-05/2.274, allocations: 124.7 kB / 0.6547 GB, free: 5.133 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.028e-05/2.274, allocations: 31.77 kB / 0.6547 GB, free: 5.102 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/2.274, allocations: 16.09 kB / 0.6547 GB, free: 5.086 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/2.274, allocations: 47.77 kB / 0.6548 GB, free: 5.039 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/2.274, allocations: 19.94 kB / 0.6548 GB, free: 5.02 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002717/2.274, allocations: 291 kB / 0.6551 GB, free: 4.734 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/2.274, allocations: 0 / 0.6551 GB, free: 4.734 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003293/2.277, allocations: 1.363 MB / 0.6564 GB, free: 3.371 MB / 0.5417 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.005352/2.283, allocations: 1.624 MB / 0.658 GB, free: 1.738 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000768/2.284, allocations: 485.8 kB / 0.6585 GB, free: 1.238 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/2.284, allocations: 3.938 kB / 0.6585 GB, free: 1.234 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002776/2.284, allocations: 192.7 kB / 0.6587 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/2.285, allocations: 217.7 kB / 0.6589 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/2.287, allocations: 1.397 MB / 0.6602 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/2.287, allocations: 0.8518 MB / 0.6611 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001794/2.287, allocations: 46.94 kB / 0.6611 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.15e-05/2.288, allocations: 35.44 kB / 0.6611 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of SimCode: time 3.31e-07/2.288, allocations: 0 / 0.6611 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of Templates: time 0.2141/2.502, allocations: 53.41 MB / 0.7133 GB, free: 215.1 MB / 0.573 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.makefile (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)