Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2.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.TestStaticDrum2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7411/0.7411, allocations: 150.8 MB / 166.1 MB, free: 15.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.386e-05/1.387e-05, allocations: 4 kB / 204.8 MB, free: 10.09 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1331, allocations: 31.99 MB / 236.8 MB, free: 5.438 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.TestStaticDrum2): time 1.423/1.556, allocations: 295.5 MB / 0.5198 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0354/1.591, allocations: 35.1 MB / 0.5541 GB, free: 8.559 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002722/1.592, allocations: 8 kB / 0.5541 GB, free: 8.551 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003935/1.592, allocations: 159 kB / 0.5543 GB, free: 8.395 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000431/1.593, allocations: 246.2 kB / 0.5545 GB, free: 8.152 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01639/1.609, allocations: 6.794 MB / 0.5611 GB, free: 1.352 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001027/1.61, allocations: 0.9448 MB / 0.562 GB, free: 412 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004152/1.61, allocations: 344.5 kB / 0.5624 GB, free: 68 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003301/1.611, allocations: 302.5 kB / 0.5627 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/1.611, allocations: 302.3 kB / 0.563 GB, free: 15.47 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.626e-05/1.611, allocations: 28 kB / 0.563 GB, free: 15.45 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02296/1.634, allocations: 15.85 MB / 0.5785 GB, free: 15.57 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001845/1.634, allocations: 111.4 kB / 0.5786 GB, free: 15.46 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003888/1.635, allocations: 387.7 kB / 0.5789 GB, free: 15.08 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01322/1.648, allocations: 8.311 MB / 0.5871 GB, free: 6.746 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/1.648, allocations: 0 / 0.5871 GB, free: 6.746 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.493e-06/1.648, allocations: 0 / 0.5871 GB, free: 6.746 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/1.648, allocations: 4 kB / 0.5871 GB, free: 6.742 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.003242/1.651, allocations: 1.685 MB / 0.5887 GB, free: 5.004 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/1.651, allocations: 8.031 kB / 0.5887 GB, free: 4.996 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/1.651, allocations: 94.81 kB / 0.5888 GB, free: 4.902 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/1.652, allocations: 370.6 kB / 0.5892 GB, free: 4.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.684e-05/1.652, allocations: 54 kB / 0.5892 GB, free: 4.449 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.713e-05/1.652, allocations: 72 kB / 0.5893 GB, free: 4.379 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/1.653, allocations: 0.921 MB / 0.5902 GB, free: 3.367 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/1.653, allocations: 4 kB / 0.5902 GB, free: 3.363 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.836e-05/1.653, allocations: 32 kB / 0.5902 GB, free: 3.332 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-05/1.653, allocations: 35.92 kB / 0.5902 GB, free: 3.297 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007114/1.654, allocations: 0.5208 MB / 0.5907 GB, free: 2.773 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.00398/1.658, allocations: 6.046 MB / 0.5967 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004458/1.658, allocations: 293.6 kB / 0.5969 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/1.659, allocations: 190.1 kB / 0.5971 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1486/1.807, allocations: 81.17 MB / 0.6764 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/1.807, allocations: 34.5 kB / 0.6764 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 1.883e-06/1.807, allocations: 0 / 0.6764 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80): time 0.00218/1.809, allocations: 1.203 MB / 0.6776 GB, free: 260 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/1.809, allocations: 59.41 kB / 0.6776 GB, free: 188 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/1.81, allocations: 441.5 kB / 0.6781 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/1.81, allocations: 25.7 kB / 0.6781 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/1.81, allocations: 339.7 kB / 0.6784 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/1.81, allocations: 260 kB / 0.6787 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/1.81, allocations: 85.66 kB / 0.6787 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001154/1.81, allocations: 362.8 kB / 0.6791 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/1.811, allocations: 157.4 kB / 0.6792 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/1.811, allocations: 412.2 kB / 0.6796 GB, free: 14 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006568/1.812, allocations: 0.6306 MB / 0.6803 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/1.812, allocations: 4 kB / 0.6803 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001196/1.813, allocations: 0.817 MB / 0.6811 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.813, allocations: 11.98 kB / 0.6811 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/1.813, allocations: 12 kB / 0.6811 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000971/1.814, allocations: 0.6599 MB / 0.6817 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/1.814, allocations: 63.78 kB / 0.6818 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/1.816, allocations: 3.259 MB / 0.685 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003117/1.817, allocations: 95.06 kB / 0.6851 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-05/1.817, allocations: 31.98 kB / 0.6851 GB, free: 8.062 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 26 (sensorT1.C2.b,sensorT1.C1.a,sinkP2.C.a,singularPressureLossVALI3.C2.b,singularPressureLossVALI3.C1.a,sourcePQ.C.b,sensorT.C2.b,sensorT.C1.a,sinkP1.C.a,singularPressureLossVALI2.C2.b,singularPressureLossVALI2.C1.a,singularPressureLossVALI1.C2.b,singularPressureLossVALI1.C1.a,StaticDrumTh1.Ce_sup.a,StaticDrumTh1.Ce_steam.a,StaticDrumTh1.Cs_purg.b,StaticDrumTh1.Cs_sur.b,StaticDrumTh1.Cs_eva.b,StaticDrumTh1.Cs_sup.b,StaticDrumTh1.Ce_eco.a,StaticDrumTh1.Ce_eva.a,StaticDrumTh1.Cs_sup.a,StaticDrumTh1.Cs_eva.a,StaticDrumTh1.Ce_eva.b,StaticDrumTh1.Ce_sup.b,StaticDrumTh1.Ce_steam.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002169/1.817, allocations: 208.8 kB / 0.6853 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.516e-05/1.817, allocations: 59.19 kB / 0.6853 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/1.818, allocations: 1.183 MB / 0.6865 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00105/1.819, allocations: 0.8837 MB / 0.6874 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/1.819, allocations: 0 / 0.6874 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/1.819, allocations: 3.984 kB / 0.6874 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/1.822, allocations: 2.15 MB / 0.6895 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.822, allocations: 0 / 0.6895 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003134/1.822, allocations: 95.89 kB / 0.6896 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008598/1.823, allocations: 0.6803 MB / 0.6902 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/1.823, allocations: 12 kB / 0.6902 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1492/1.972, allocations: 3.285 MB / 0.6934 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/1.972, allocations: 3.75 kB / 0.6934 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/1.973, allocations: 1.003 MB / 0.6944 GB, free: 225.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/1.974, allocations: 205.6 kB / 0.6946 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/1.974, allocations: 12.41 kB / 0.6946 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/1.974, allocations: 30.28 kB / 0.6947 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/1.974, allocations: 39.61 kB / 0.6947 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/1.974, allocations: 18.72 kB / 0.6947 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002687/1.974, allocations: 286.7 kB / 0.695 GB, free: 225 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.71e-07/1.974, allocations: 2.094 kB / 0.695 GB, free: 225 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00267/1.977, allocations: 1.226 MB / 0.6962 GB, free: 225 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (59): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003756/1.981, allocations: 1.64 MB / 0.6978 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001286/1.982, allocations: 1.022 MB / 0.6988 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.982, allocations: 0 / 0.6988 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007067/1.983, allocations: 0.5576 MB / 0.6993 GB, free: 224.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/1.984, allocations: 290.3 kB / 0.6996 GB, free: 224.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/1.986, allocations: 1.859 MB / 0.7014 GB, free: 223.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/1.986, allocations: 1.007 MB / 0.7024 GB, free: 222.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002368/1.986, allocations: 69.81 kB / 0.7025 GB, free: 222.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.627e-05/1.987, allocations: 48.25 kB / 0.7025 GB, free: 222.7 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/1.987, allocations: 0 / 0.7025 GB, free: 222.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.04572/2.032, allocations: 46.62 MB / 0.748 GB, free: 196.1 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum2.pipe 2>&1) Environment - environmentSimulation: