Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum1.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.TestStaticDrum1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticDrum1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7332/0.7332, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.661e-05/1.663e-05, allocations: 4 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.137, allocations: 31.98 MB / 236.8 MB, free: 5.422 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.TestStaticDrum1): time 1.426/1.564, allocations: 295.8 MB / 0.5201 GB, free: 11.22 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03565/1.599, allocations: 35.19 MB / 0.5545 GB, free: 8.172 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005654/1.6, allocations: 7.938 kB / 0.5545 GB, free: 8.164 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006388/1.6, allocations: 182.9 kB / 0.5547 GB, free: 7.984 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008396/1.601, allocations: 262 kB / 0.5549 GB, free: 7.727 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0171/1.618, allocations: 6.829 MB / 0.5616 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001191/1.62, allocations: 1.034 MB / 0.5626 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000515/1.62, allocations: 387.6 kB / 0.563 GB, free: 15.47 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004533/1.621, allocations: 326.4 kB / 0.5633 GB, free: 15.15 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003852/1.621, allocations: 334.1 kB / 0.5636 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.711e-05/1.621, allocations: 32 kB / 0.5636 GB, free: 14.79 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02372/1.645, allocations: 15.85 MB / 0.5791 GB, free: 14.92 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001912/1.645, allocations: 115.4 kB / 0.5792 GB, free: 14.8 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004728/1.646, allocations: 431.4 kB / 0.5796 GB, free: 14.38 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01595/1.661, allocations: 8.404 MB / 0.5878 GB, free: 5.949 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.661, allocations: 0 / 0.5878 GB, free: 5.949 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.623e-06/1.662, allocations: 0 / 0.5878 GB, free: 5.949 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.648e-05/1.662, allocations: 0 / 0.5878 GB, free: 5.949 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: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 0.003929/1.665, allocations: 1.743 MB / 0.5895 GB, free: 4.152 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/1.666, allocations: 12.03 kB / 0.5895 GB, free: 4.141 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/1.666, allocations: 102.7 kB / 0.5896 GB, free: 4.039 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/1.666, allocations: 392.5 kB / 0.59 GB, free: 3.613 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.658e-05/1.666, allocations: 66 kB / 0.5901 GB, free: 3.551 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-05/1.666, allocations: 80 kB / 0.5902 GB, free: 3.473 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/1.668, allocations: 1.027 MB / 0.5912 GB, free: 2.332 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/1.668, allocations: 7.938 kB / 0.5912 GB, free: 2.324 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.507e-05/1.668, allocations: 36 kB / 0.5912 GB, free: 2.289 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-05/1.668, allocations: 39.92 kB / 0.5912 GB, free: 2.25 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008075/1.668, allocations: 0.5676 MB / 0.5918 GB, free: 1.676 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.004387/1.673, allocations: 6.596 MB / 0.5982 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009837/1.674, allocations: 366.2 kB / 0.5986 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002589/1.674, allocations: 206.1 kB / 0.5988 GB, free: 9.898 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1547/1.829, allocations: 81.17 MB / 0.6781 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/1.829, allocations: 30.56 kB / 0.6781 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 2.194e-06/1.829, allocations: 0 / 0.6781 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.002706/1.832, allocations: 1.224 MB / 0.6793 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/1.832, allocations: 59.27 kB / 0.6793 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005851/1.832, allocations: 0.4938 MB / 0.6798 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/1.832, allocations: 29.7 kB / 0.6798 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/1.833, allocations: 367.6 kB / 0.6802 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/1.833, allocations: 279.9 kB / 0.6805 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.582e-05/1.833, allocations: 93.59 kB / 0.6806 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.833, allocations: 378.7 kB / 0.6809 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/1.833, allocations: 161.5 kB / 0.6811 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004147/1.834, allocations: 452.2 kB / 0.6815 GB, free: 12.05 MB / 0.5762 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.002665/1.836, allocations: 1.498 MB / 0.683 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/1.836, allocations: 4 kB / 0.683 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001541/1.838, allocations: 0.8995 MB / 0.6838 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/1.838, allocations: 8 kB / 0.6838 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/1.838, allocations: 8 kB / 0.6839 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/1.839, allocations: 0.6492 MB / 0.6845 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005363/1.84, allocations: 95.78 kB / 0.6846 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/1.841, allocations: 2.022 MB / 0.6866 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004079/1.842, allocations: 110.6 kB / 0.6867 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.003e-05/1.842, allocations: 32 kB / 0.6867 GB, free: 6.484 MB / 0.5762 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: sensorT.h = $START.sensorT.h. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 30 (sourcePlug.C.b,refQ.C2.b,refQ.C1.a,refP.C2.b,refP.C1.a,sensorT1.C2.b,sensorT1.C1.a,sinkP2.C.a,singularPressureLossVALI3.C2.b,singularPressureLossVALI3.C1.a,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 (51): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002909/1.842, allocations: 221.9 kB / 0.6869 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.743e-05/1.842, allocations: 63.23 kB / 0.687 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/1.843, allocations: 1.189 MB / 0.6881 GB, free: 5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001128/1.845, allocations: 0.8905 MB / 0.689 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.845, allocations: 0 / 0.689 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/1.845, allocations: 3.984 kB / 0.689 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/1.847, allocations: 2.221 MB / 0.6912 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/1.847, allocations: 4 kB / 0.6912 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006247/1.848, allocations: 123.8 kB / 0.6913 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000962/1.849, allocations: 0.6638 MB / 0.6919 GB, free: 1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/1.849, allocations: 20 kB / 0.692 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1514/2.001, allocations: 2.042 MB / 0.694 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/2.001, allocations: 0 / 0.694 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/2.002, allocations: 1.046 MB / 0.695 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002413/2.002, allocations: 213.2 kB / 0.6952 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.716e-05/2.002, allocations: 12.53 kB / 0.6952 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/2.003, allocations: 32.02 kB / 0.6952 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/2.003, allocations: 44.56 kB / 0.6953 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/2.003, allocations: 17.94 kB / 0.6953 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003179/2.003, allocations: 327.7 kB / 0.6956 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/2.003, allocations: 0 / 0.6956 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002784/2.006, allocations: 1.24 MB / 0.6968 GB, free: 225.5 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): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004483/2.01, allocations: 1.639 MB / 0.6984 GB, free: 225.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00136/2.012, allocations: 0.9527 MB / 0.6993 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/2.012, allocations: 0.6562 kB / 0.6993 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000751/2.012, allocations: 480.6 kB / 0.6998 GB, free: 225 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/2.014, allocations: 293.6 kB / 0.7001 GB, free: 225 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/2.016, allocations: 1.96 MB / 0.702 GB, free: 224 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/2.016, allocations: 1.031 MB / 0.703 GB, free: 223.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003436/2.017, allocations: 86.38 kB / 0.7031 GB, free: 223.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.407e-05/2.017, allocations: 50.19 kB / 0.7031 GB, free: 223.3 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/2.017, allocations: 0 / 0.7031 GB, free: 223.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.04959/2.066, allocations: 47.21 MB / 0.7492 GB, free: 195.8 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum1.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum1.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticDrum1.pipe 2>&1) Environment - environmentSimulation: