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.8094/0.8094, allocations: 150.9 MB / 166 MB, free: 14.59 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002799/0.0002799, allocations: 19.97 kB / 204 MB, free: 10.1 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.134, allocations: 31.33 MB / 235.3 MB, free: 5.453 MB / 190.1 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.552/1.686, allocations: 292.9 MB / 0.5158 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03748/1.724, allocations: 32.83 MB / 0.5479 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/1.724, allocations: 4 kB / 0.5479 GB, free: 13.03 MB / 446.1 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.0005231/1.725, allocations: 152.3 kB / 0.548 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002713/1.725, allocations: 115.2 kB / 0.5481 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01902/1.744, allocations: 6.829 MB / 0.5548 GB, free: 5.957 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006299/1.744, allocations: 402.1 kB / 0.5552 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002238/1.745, allocations: 113.4 kB / 0.5553 GB, free: 5.461 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/1.745, allocations: 163.1 kB / 0.5555 GB, free: 5.301 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/1.745, allocations: 131.4 kB / 0.5556 GB, free: 5.172 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/1.745, allocations: 16 kB / 0.5556 GB, free: 5.156 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03371/1.779, allocations: 20.3 MB / 0.5754 GB, free: 0.832 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/1.779, allocations: 43.78 kB / 0.5755 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002304/1.779, allocations: 151.2 kB / 0.5756 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01633/1.796, allocations: 8.611 MB / 0.584 GB, free: 8.012 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/1.796, allocations: 0 / 0.584 GB, free: 8.012 MB / 478.1 MB Notification: Performance of FrontEnd: time 9.52e-07/1.796, allocations: 0 / 0.584 GB, free: 8.012 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/1.796, allocations: 0 / 0.584 GB, free: 8.012 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.003902/1.8, allocations: 1.417 MB / 0.5854 GB, free: 6.547 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/1.8, allocations: 8.031 kB / 0.5854 GB, free: 6.539 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.739e-05/1.8, allocations: 36.47 kB / 0.5854 GB, free: 6.504 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/1.8, allocations: 239.7 kB / 0.5857 GB, free: 6.23 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/1.8, allocations: 20.56 kB / 0.5857 GB, free: 6.211 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/1.8, allocations: 20 kB / 0.5857 GB, free: 6.191 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004762/1.801, allocations: 345.2 kB / 0.586 GB, free: 5.824 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/1.801, allocations: 3.938 kB / 0.586 GB, free: 5.82 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/1.801, allocations: 13.78 kB / 0.5861 GB, free: 5.809 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/1.801, allocations: 15.98 kB / 0.5861 GB, free: 5.793 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/1.801, allocations: 212.9 kB / 0.5863 GB, free: 5.586 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.01878/1.82, allocations: 9.879 MB / 0.5959 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/1.82, allocations: 147 kB / 0.5961 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/1.82, allocations: 117.7 kB / 0.5962 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1094/1.93, allocations: 51.57 MB / 0.6465 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/1.93, allocations: 34.5 kB / 0.6466 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=52): time 2.525e-06/1.93, allocations: 0 / 0.6466 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52): time 0.001107/1.931, allocations: 0.5172 MB / 0.6471 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/1.931, allocations: 55.39 kB / 0.6471 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/1.931, allocations: 225 kB / 0.6473 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/1.931, allocations: 29.7 kB / 0.6474 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.154e-05/1.931, allocations: 156.9 kB / 0.6475 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.522e-05/1.931, allocations: 165.4 kB / 0.6477 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.431e-05/1.931, allocations: 57.69 kB / 0.6477 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001143/1.931, allocations: 338.8 kB / 0.6481 GB, free: 280 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/1.932, allocations: 84.47 kB / 0.6481 GB, free: 196 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/1.932, allocations: 145.3 kB / 0.6483 GB, free: 32 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/1.932, allocations: 258 kB / 0.6485 GB, free: 15.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/1.932, allocations: 7.875 kB / 0.6485 GB, free: 15.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004792/1.933, allocations: 351.2 kB / 0.6489 GB, free: 15.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/1.933, allocations: 4 kB / 0.6489 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/1.933, allocations: 0 / 0.6489 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002839/1.933, allocations: 108.8 kB / 0.649 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.594e-05/1.933, allocations: 12.55 kB / 0.649 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004465/1.933, allocations: 0.611 MB / 0.6496 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/1.934, allocations: 31.53 kB / 0.6496 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/1.934, allocations: 4 kB / 0.6496 GB, free: 14.6 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.0001275/1.934, allocations: 149.8 kB / 0.6498 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.978e-05/1.934, allocations: 31.66 kB / 0.6498 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008726/1.935, allocations: 0.8092 MB / 0.6506 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005124/1.935, allocations: 400.3 kB / 0.651 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.935, allocations: 0 / 0.651 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.935, allocations: 0 / 0.651 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/1.937, allocations: 1.477 MB / 0.6524 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/1.937, allocations: 7.984 kB / 0.6524 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/1.937, allocations: 67.86 kB / 0.6525 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002026/1.937, allocations: 120.8 kB / 0.6526 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/1.937, allocations: 12 kB / 0.6526 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004101/1.938, allocations: 0.6345 MB / 0.6532 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.39e-05/1.938, allocations: 7.938 kB / 0.6532 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006461/1.938, allocations: 0.6327 MB / 0.6539 GB, free: 9.977 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.946e-05/1.938, allocations: 136.4 kB / 0.654 GB, free: 9.824 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.479e-05/1.939, allocations: 23.84 kB / 0.654 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/1.939, allocations: 16 kB / 0.654 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/1.939, allocations: 39.83 kB / 0.6541 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/1.939, allocations: 24 kB / 0.6541 GB, free: 9.723 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002906/1.939, allocations: 287 kB / 0.6544 GB, free: 9.441 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/1.939, allocations: 0 / 0.6544 GB, free: 9.441 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003227/1.942, allocations: 1.335 MB / 0.6557 GB, free: 8.105 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.005522/1.948, allocations: 1.622 MB / 0.6572 GB, free: 6.488 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006788/1.949, allocations: 480.8 kB / 0.6577 GB, free: 5.992 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.949, allocations: 4 kB / 0.6577 GB, free: 5.988 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002833/1.949, allocations: 197 kB / 0.6579 GB, free: 5.797 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/1.95, allocations: 212 kB / 0.6581 GB, free: 5.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/1.952, allocations: 1.085 MB / 0.6592 GB, free: 4.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/1.952, allocations: 0.8401 MB / 0.66 GB, free: 3.543 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001711/1.952, allocations: 46.94 kB / 0.66 GB, free: 3.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/1.952, allocations: 35.44 kB / 0.6601 GB, free: 3.465 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/1.952, allocations: 0 / 0.6601 GB, free: 3.465 MB / 0.545 GB Notification: Performance of Templates: time 0.2103/2.163, allocations: 53.16 MB / 0.712 GB, free: 222.4 MB / 0.5762 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)