Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1.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.TestSteamDryer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8962/0.8962, allocations: 150.8 MB / 166.1 MB, free: 15.44 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.707e-05/1.716e-05, allocations: 4 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2182, allocations: 31.97 MB / 236.8 MB, free: 5.27 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.Fluid.Examples.SimpleExamples.TestSteamDryer1): time 1.855/2.073, allocations: 295.6 MB / 0.5199 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6722/2.745, allocations: 190.4 MB / 0.7058 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/2.746, allocations: 11.84 kB / 0.7058 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006393/2.747, allocations: 156.2 kB / 0.706 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008635/2.748, allocations: 270.5 kB / 0.7062 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03474/2.783, allocations: 9.652 MB / 0.7157 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001497/2.784, allocations: 1.006 MB / 0.7166 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006441/2.785, allocations: 494.5 kB / 0.7171 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004908/2.785, allocations: 352.2 kB / 0.7174 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00042/2.786, allocations: 390.4 kB / 0.7178 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.763e-05/2.786, allocations: 41.25 kB / 0.7179 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04437/2.83, allocations: 21.43 MB / 0.7388 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003839/2.831, allocations: 156.5 kB / 0.7389 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008027/2.832, allocations: 465.7 kB / 0.7394 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03525/2.867, allocations: 11.04 MB / 0.7502 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/2.867, allocations: 0.8125 kB / 0.7502 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.575e-06/2.867, allocations: 0 / 0.7502 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.318e-05/2.867, allocations: 0.8438 kB / 0.7502 GB, free: 14.45 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.008965/2.876, allocations: 2.216 MB / 0.7523 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.32e-05/2.876, allocations: 14.12 kB / 0.7523 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002513/2.876, allocations: 112.9 kB / 0.7524 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007639/2.877, allocations: 477.6 kB / 0.7529 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/2.877, allocations: 78.38 kB / 0.753 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/2.877, allocations: 93.06 kB / 0.7531 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/2.879, allocations: 1.041 MB / 0.7541 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/2.879, allocations: 3.938 kB / 0.7541 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.776e-05/2.879, allocations: 44.56 kB / 0.7541 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/2.879, allocations: 23.06 kB / 0.7541 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/2.88, allocations: 0.6958 MB / 0.7548 GB, free: 12.14 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.006446/2.887, allocations: 6.601 MB / 0.7613 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/2.888, allocations: 0.8502 MB / 0.7621 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/2.888, allocations: 205.4 kB / 0.7623 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9498/3.838, allocations: 374.5 MB / 1.128 GB, free: 313.2 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/3.838, allocations: 37.25 kB / 1.128 GB, free: 313.1 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=53): time 4.288e-06/3.838, allocations: 0.5625 kB / 1.128 GB, free: 313.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=53): time 0.003755/3.842, allocations: 1.473 MB / 1.13 GB, free: 311.9 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/3.842, allocations: 85.09 kB / 1.13 GB, free: 311.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006865/3.843, allocations: 491.5 kB / 1.13 GB, free: 311.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/3.843, allocations: 29.64 kB / 1.13 GB, free: 311.4 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000254/3.843, allocations: 463.9 kB / 1.131 GB, free: 311.1 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/3.843, allocations: 181.8 kB / 1.131 GB, free: 310.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.395e-05/3.843, allocations: 86.72 kB / 1.131 GB, free: 310.9 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.139e-05/3.843, allocations: 367.3 kB / 1.131 GB, free: 310.5 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/3.844, allocations: 183.6 kB / 1.131 GB, free: 310.4 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003948/3.844, allocations: 470.7 kB / 1.132 GB, free: 309.9 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007316/3.845, allocations: 0.6995 MB / 1.132 GB, free: 309.3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/3.845, allocations: 0 / 1.132 GB, free: 309.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001917/3.847, allocations: 1.025 MB / 1.133 GB, free: 308.6 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/3.847, allocations: 12 kB / 1.133 GB, free: 308.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/3.847, allocations: 8.562 kB / 1.133 GB, free: 308.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002171/3.849, allocations: 0.8205 MB / 1.134 GB, free: 307.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/3.849, allocations: 79.83 kB / 1.134 GB, free: 307.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/3.851, allocations: 2.066 MB / 1.136 GB, free: 305.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005511/3.851, allocations: 118.4 kB / 1.136 GB, free: 305.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/3.851, allocations: 35.8 kB / 1.136 GB, free: 305.7 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 19 (steamDryer.Csl.ftype,steamDryer.Csv.ftype,sourceQ.C.ftype,steamDryer.fluids[1],singularPressureLoss2.fluid,sinkP.fluid,singularPressureLoss1.fluid,singularPressureLoss3.fluid,sink.fluid,sourceQ.fluid1,steamDryer.Csl.diff_on_2,steamDryer.Csl.diff_on_1,singularPressureLoss3.C2.diff_on_1,steamDryer.Csv.diff_on_2,steamDryer.Csv.diff_on_1,singularPressureLoss1.C2.diff_on_1,steamDryer.Cev.diff_on_2,sourceQ.C.diff_on_2,singularPressureLoss2.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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), (3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0003382/3.852, allocations: 232.5 kB / 1.137 GB, free: 305.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/3.852, allocations: 51.34 kB / 1.137 GB, free: 305.5 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/3.853, allocations: 0.8671 MB / 1.138 GB, free: 304.9 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009698/3.854, allocations: 0.6655 MB / 1.138 GB, free: 304.4 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/3.854, allocations: 0 / 1.138 GB, free: 304.4 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/3.854, allocations: 3.984 kB / 1.138 GB, free: 304.4 MB / 0.8106 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 postOpt removeSimpleEquations (simulation): time 0.002731/3.857, allocations: 1.786 MB / 1.14 GB, free: 303.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/3.857, allocations: 0 / 1.14 GB, free: 303.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.132e-05/3.857, allocations: 35.86 kB / 1.14 GB, free: 303 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00162/3.859, allocations: 0.7228 MB / 1.141 GB, free: 302.4 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/3.859, allocations: 7.75 kB / 1.141 GB, free: 302.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/3.86, allocations: 2.031 MB / 1.143 GB, free: 300.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/3.86, allocations: 3.938 kB / 1.143 GB, free: 300.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/3.861, allocations: 0.8937 MB / 1.144 GB, free: 299.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/3.861, allocations: 179.9 kB / 1.144 GB, free: 299.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.96e-05/3.861, allocations: 7.875 kB / 1.144 GB, free: 299.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/3.862, allocations: 47.89 kB / 1.144 GB, free: 299.6 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.898e-05/3.862, allocations: 27.89 kB / 1.144 GB, free: 299.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.419e-05/3.862, allocations: 18.12 kB / 1.144 GB, free: 299.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003388/3.862, allocations: 313.7 kB / 1.144 GB, free: 299.3 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/3.862, allocations: 0 / 1.144 GB, free: 299.3 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.005287/3.868, allocations: 1.653 MB / 1.146 GB, free: 297.9 MB / 0.8106 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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), (3,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008994/3.877, allocations: 2.411 MB / 1.148 GB, free: 296 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00145/3.878, allocations: 0.6533 MB / 1.149 GB, free: 295.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/3.878, allocations: 0 / 1.149 GB, free: 295.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006124/3.879, allocations: 326.7 kB / 1.149 GB, free: 295.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/3.88, allocations: 192.9 kB / 1.149 GB, free: 295.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/3.882, allocations: 1.691 MB / 1.151 GB, free: 293.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/3.883, allocations: 0.9621 MB / 1.152 GB, free: 292.5 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003644/3.883, allocations: 82.75 kB / 1.152 GB, free: 292.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.548e-05/3.883, allocations: 43.44 kB / 1.152 GB, free: 292.4 MB / 0.8106 GB Notification: Performance of SimCode: time 3.91e-07/3.883, allocations: 0 / 1.152 GB, free: 292.4 MB / 0.8106 GB Notification: Performance of Templates: time 0.06836/3.952, allocations: 53.56 MB / 1.204 GB, free: 239.6 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1.pipe 2>&1) Environment - environmentSimulation: