Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8265/0.8265, allocations: 150.9 MB / 166 MB, free: 14.65 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003001/0.0003001, allocations: 11.98 kB / 204 MB, free: 10.16 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1545, allocations: 31.33 MB / 235.4 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.Fluid.Examples.SimpleExamples.TestSteamEngine): time 1.648/1.802, allocations: 293.1 MB / 0.5161 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5963/2.398, allocations: 198.1 MB / 0.7095 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003656/2.399, allocations: 7.531 kB / 0.7095 GB, free: 3.617 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/SteamEngine.mo:41:3-42:53:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/SteamEngine.mo:43:3-44:51:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005807/2.399, allocations: 137.5 kB / 0.7097 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003747/2.4, allocations: 150.7 kB / 0.7098 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03739/2.437, allocations: 10.78 MB / 0.7203 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008511/2.438, allocations: 495.9 kB / 0.7208 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003299/2.438, allocations: 204 kB / 0.721 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002663/2.439, allocations: 200.2 kB / 0.7212 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/2.439, allocations: 195.9 kB / 0.7214 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.397e-05/2.439, allocations: 22.78 kB / 0.7214 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04686/2.486, allocations: 25.59 MB / 0.7464 GB, free: 380 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002074/2.486, allocations: 73.97 kB / 0.7465 GB, free: 368 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004106/2.486, allocations: 215.3 kB / 0.7467 GB, free: 356 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03956/2.526, allocations: 12.46 MB / 0.7588 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/2.526, allocations: 0 / 0.7588 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.584e-06/2.526, allocations: 0 / 0.7588 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.35e-05/2.526, allocations: 0 / 0.7588 GB, free: 11.93 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.007554/2.534, allocations: 2.113 MB / 0.7609 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/2.534, allocations: 11.53 kB / 0.7609 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/2.534, allocations: 48.59 kB / 0.761 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/2.534, allocations: 308.8 kB / 0.7612 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/2.534, allocations: 26.34 kB / 0.7613 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/2.534, allocations: 36.84 kB / 0.7613 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006607/2.535, allocations: 429.2 kB / 0.7617 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/2.535, allocations: 4 kB / 0.7617 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/2.535, allocations: 16 kB / 0.7617 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/2.535, allocations: 11.59 kB / 0.7617 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004243/2.536, allocations: 274.1 kB / 0.762 GB, free: 10.12 MB / 0.5919 GB 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.07137/2.607, allocations: 32.86 MB / 0.7941 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/2.607, allocations: 112.7 kB / 0.7942 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/2.607, allocations: 82.38 kB / 0.7943 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1335/2.741, allocations: 80.44 MB / 0.8728 GB, free: 0.9844 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/2.741, allocations: 30.56 kB / 0.8729 GB, free: 0.9453 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=34): time 4.017e-06/2.741, allocations: 0 / 0.8729 GB, free: 0.9453 MB / 0.7012 GB Notification: Performance of matching and sorting (n=34): time 0.0009808/2.742, allocations: 423.7 kB / 0.8733 GB, free: 0.6016 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/2.742, allocations: 51.41 kB / 0.8733 GB, free: 0.5391 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003762/2.742, allocations: 301.1 kB / 0.8736 GB, free: 300 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/2.742, allocations: 25.7 kB / 0.8736 GB, free: 268 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/2.742, allocations: 235.1 kB / 0.8739 GB, free: 72 kB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 8.964e-05/2.743, allocations: 116.1 kB / 0.874 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.644e-05/2.743, allocations: 70.16 kB / 0.874 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001257/2.743, allocations: 349.6 kB / 0.8744 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/2.743, allocations: 79.09 kB / 0.8744 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/2.743, allocations: 188.5 kB / 0.8746 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/2.744, allocations: 297 kB / 0.8749 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/2.744, allocations: 0 / 0.8749 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005956/2.744, allocations: 378.6 kB / 0.8753 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/2.744, allocations: 8 kB / 0.8753 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/2.744, allocations: 7.516 kB / 0.8753 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002901/2.744, allocations: 112 kB / 0.8754 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/2.745, allocations: 38.58 kB / 0.8754 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004546/2.745, allocations: 0.616 MB / 0.876 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/2.745, allocations: 35.41 kB / 0.8761 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/2.745, allocations: 15.69 kB / 0.8761 GB, free: 14.05 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.fluid1,sourceP.C.ftype,steamEngine1.fluid,puitsP.fluid,steamEngine1.C2.diff_on_1,sourceP.C.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001686/2.746, allocations: 160.6 kB / 0.8762 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/2.746, allocations: 39.47 kB / 0.8763 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006943/2.746, allocations: 0.5554 MB / 0.8768 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004726/2.747, allocations: 407.7 kB / 0.8772 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/2.747, allocations: 8 kB / 0.8772 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/2.747, allocations: 5.188 kB / 0.8772 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/2.748, allocations: 1.172 MB / 0.8784 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/2.748, allocations: 8.062 kB / 0.8784 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/2.748, allocations: 46.83 kB / 0.8784 GB, free: 12.22 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001953/2.749, allocations: 119.2 kB / 0.8785 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/2.749, allocations: 7.938 kB / 0.8785 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000441/2.749, allocations: 0.623 MB / 0.8791 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/2.749, allocations: 5.266 kB / 0.8791 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006687/2.75, allocations: 0.5316 MB / 0.8797 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/2.75, allocations: 139.4 kB / 0.8798 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/2.75, allocations: 4.375 kB / 0.8798 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/2.75, allocations: 20.53 kB / 0.8798 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/2.75, allocations: 26.41 kB / 0.8798 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/2.75, allocations: 10.5 kB / 0.8799 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002474/2.75, allocations: 213.8 kB / 0.8801 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/2.75, allocations: 0 / 0.8801 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0059/2.756, allocations: 2.027 MB / 0.882 GB, free: 8.836 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.01079/2.767, allocations: 3.063 MB / 0.885 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008908/2.768, allocations: 431.3 kB / 0.8854 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/2.768, allocations: 1.094 kB / 0.8854 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002805/2.768, allocations: 195.4 kB / 0.8856 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/2.769, allocations: 201 kB / 0.8858 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/2.771, allocations: 1.044 MB / 0.8868 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/2.771, allocations: 0.8595 MB / 0.8877 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002325/2.772, allocations: 54.89 kB / 0.8877 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/2.772, allocations: 35.44 kB / 0.8878 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/2.772, allocations: 0 / 0.8878 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of Templates: time 0.08544/2.857, allocations: 69.54 MB / 0.9557 GB, free: 13.91 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.pipe 2>&1)