Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer.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.Book.SimpleExamples.Volume.TestSteamDryer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7513/0.7513, allocations: 150.8 MB / 166.1 MB, free: 15.38 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.403e-05/1.413e-05, allocations: 4 kB / 204.8 MB, free: 10.04 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1366, allocations: 31.97 MB / 236.8 MB, free: 5.441 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.Book.SimpleExamples.Volume.TestSteamDryer): time 1.453/1.59, allocations: 294.5 MB / 0.5188 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03782/1.628, allocations: 34.85 MB / 0.5528 GB, free: 9.789 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003378/1.628, allocations: 4 kB / 0.5528 GB, free: 9.785 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000469/1.629, allocations: 135.2 kB / 0.553 GB, free: 9.652 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005097/1.629, allocations: 158.8 kB / 0.5531 GB, free: 9.496 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0178/1.647, allocations: 6.727 MB / 0.5597 GB, free: 2.762 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006799/1.648, allocations: 0.5869 MB / 0.5602 GB, free: 2.172 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000304/1.648, allocations: 229.6 kB / 0.5605 GB, free: 1.961 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003483/1.648, allocations: 203 kB / 0.5607 GB, free: 1.762 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003343/1.649, allocations: 194.9 kB / 0.5608 GB, free: 1.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.824e-05/1.649, allocations: 20 kB / 0.5609 GB, free: 1.551 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03646/1.685, allocations: 15.83 MB / 0.5763 GB, free: 1.699 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001326/1.686, allocations: 67.64 kB / 0.5764 GB, free: 1.633 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004142/1.686, allocations: 264.3 kB / 0.5766 GB, free: 1.367 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02039/1.706, allocations: 8.038 MB / 0.5845 GB, free: 9.309 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.904e-06/1.706, allocations: 8 kB / 0.5845 GB, free: 9.301 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.364e-06/1.706, allocations: 0 / 0.5845 GB, free: 9.301 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.954e-05/1.706, allocations: 0 / 0.5845 GB, free: 9.301 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.003715/1.71, allocations: 1.501 MB / 0.586 GB, free: 7.746 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/1.71, allocations: 8.031 kB / 0.586 GB, free: 7.738 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/1.71, allocations: 63.19 kB / 0.586 GB, free: 7.676 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/1.711, allocations: 303.2 kB / 0.5863 GB, free: 7.34 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.749e-05/1.711, allocations: 33 kB / 0.5864 GB, free: 7.309 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.278e-05/1.711, allocations: 44 kB / 0.5864 GB, free: 7.266 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007991/1.712, allocations: 0.5884 MB / 0.587 GB, free: 6.629 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/1.712, allocations: 0 / 0.587 GB, free: 6.629 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.887e-05/1.712, allocations: 24 kB / 0.587 GB, free: 6.605 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/1.712, allocations: 23.98 kB / 0.587 GB, free: 6.582 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004951/1.712, allocations: 363.9 kB / 0.5874 GB, free: 6.227 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.002533/1.715, allocations: 3.505 MB / 0.5908 GB, free: 2.324 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005978/1.715, allocations: 275.3 kB / 0.591 GB, free: 2.047 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/1.716, allocations: 189.9 kB / 0.5912 GB, free: 1.859 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1537/1.869, allocations: 81.18 MB / 0.6705 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/1.869, allocations: 38.56 kB / 0.6705 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 1.884e-06/1.869, allocations: 0 / 0.6705 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002873/1.872, allocations: 1.238 MB / 0.6718 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/1.872, allocations: 81.11 kB / 0.6718 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/1.873, allocations: 286.9 kB / 0.6721 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/1.873, allocations: 29.7 kB / 0.6721 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/1.873, allocations: 212.9 kB / 0.6723 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/1.873, allocations: 228.5 kB / 0.6726 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.99e-05/1.873, allocations: 53.69 kB / 0.6726 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001352/1.873, allocations: 358.8 kB / 0.6729 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/1.873, allocations: 124.6 kB / 0.6731 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/1.874, allocations: 239.9 kB / 0.6733 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005113/1.874, allocations: 423.7 kB / 0.6737 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.874, allocations: 3.938 kB / 0.6737 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001087/1.875, allocations: 0.6731 MB / 0.6744 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/1.875, allocations: 8 kB / 0.6744 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/1.875, allocations: 4 kB / 0.6744 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/1.877, allocations: 0.789 MB / 0.6751 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.049e-05/1.877, allocations: 8 kB / 0.6751 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/1.878, allocations: 2.12 MB / 0.6772 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/1.878, allocations: 59.48 kB / 0.6773 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/1.878, allocations: 20 kB / 0.6773 GB, free: 0.5312 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (sink.C.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,sinkP.C.a,singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,sourceQ.C.b,steamDryer.Csl.b,steamDryer.Csv.b,steamDryer.Cev.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * 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), (2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000178/1.879, allocations: 173.6 kB / 0.6775 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/1.879, allocations: 35.53 kB / 0.6775 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/1.88, allocations: 1.182 MB / 0.6786 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001159/1.881, allocations: 0.877 MB / 0.6795 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.881, allocations: 0 / 0.6795 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/1.881, allocations: 7.984 kB / 0.6795 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002493/1.884, allocations: 1.986 MB / 0.6815 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/1.884, allocations: 4 kB / 0.6815 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/1.884, allocations: 67.91 kB / 0.6815 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/1.885, allocations: 0.8067 MB / 0.6823 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/1.885, allocations: 15.94 kB / 0.6823 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/1.887, allocations: 2.196 MB / 0.6845 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/1.887, allocations: 0 / 0.6845 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/1.888, allocations: 1.021 MB / 0.6855 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/1.888, allocations: 172.2 kB / 0.6856 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/1.888, allocations: 11.94 kB / 0.6856 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/1.888, allocations: 27.83 kB / 0.6857 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.591e-05/1.889, allocations: 32.61 kB / 0.6857 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/1.889, allocations: 20 kB / 0.6857 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001659/1.889, allocations: 197.9 kB / 0.6859 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.889, allocations: 0 / 0.6859 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002656/1.891, allocations: 1.151 MB / 0.687 GB, free: 6.316 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 (45): * Single equations (assignments): 42 * 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), (2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00389/1.895, allocations: 1.649 MB / 0.6886 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001278/1.897, allocations: 0.7679 MB / 0.6894 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.897, allocations: 0 / 0.6894 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007517/1.897, allocations: 447.2 kB / 0.6898 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/1.899, allocations: 229.8 kB / 0.69 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/1.9, allocations: 1.429 MB / 0.6914 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/1.901, allocations: 0.9164 MB / 0.6923 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001454/1.901, allocations: 43.27 kB / 0.6924 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.314e-05/1.901, allocations: 31.44 kB / 0.6924 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of SimCode: time 3.61e-07/1.901, allocations: 0 / 0.6924 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of Templates: time 0.1951/2.096, allocations: 44.86 MB / 0.7362 GB, free: 207.2 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestSteamDryer.pipe 2>&1) Environment - environmentSimulation: