Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2.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.TestSteamDryer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7367/0.7367, allocations: 150.8 MB / 166.1 MB, free: 15.42 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.353e-05/1.347e-05, allocations: 4 kB / 204.8 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1331, allocations: 31.98 MB / 236.8 MB, free: 5.465 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.TestSteamDryer2): time 1.432/1.565, allocations: 294.6 MB / 0.5189 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03484/1.6, allocations: 34.86 MB / 0.5529 GB, free: 9.809 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/1.6, allocations: 4 kB / 0.5529 GB, free: 9.805 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00033/1.6, allocations: 139.1 kB / 0.5531 GB, free: 9.668 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002753/1.601, allocations: 150.8 kB / 0.5532 GB, free: 9.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01627/1.617, allocations: 6.726 MB / 0.5598 GB, free: 2.785 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000729/1.618, allocations: 0.5869 MB / 0.5603 GB, free: 2.195 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003134/1.618, allocations: 234.6 kB / 0.5606 GB, free: 1.973 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/1.618, allocations: 203 kB / 0.5608 GB, free: 1.773 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/1.618, allocations: 186.9 kB / 0.5609 GB, free: 1.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/1.618, allocations: 20 kB / 0.561 GB, free: 1.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02325/1.642, allocations: 15.84 MB / 0.5764 GB, free: 1.711 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.44e-05/1.642, allocations: 63.64 kB / 0.5765 GB, free: 1.648 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002675/1.642, allocations: 264.3 kB / 0.5767 GB, free: 1.383 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01436/1.656, allocations: 8.038 MB / 0.5846 GB, free: 9.324 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.657, allocations: 0 / 0.5846 GB, free: 9.324 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.944e-06/1.657, allocations: 0 / 0.5846 GB, free: 9.324 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/1.657, allocations: 0 / 0.5846 GB, free: 9.324 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.003349/1.66, allocations: 1.511 MB / 0.5861 GB, free: 7.766 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/1.66, allocations: 12.03 kB / 0.5861 GB, free: 7.754 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.512e-05/1.66, allocations: 63.19 kB / 0.5861 GB, free: 7.691 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/1.66, allocations: 298.6 kB / 0.5864 GB, free: 7.359 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.721e-05/1.66, allocations: 29 kB / 0.5864 GB, free: 7.332 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/1.66, allocations: 50.3 kB / 0.5865 GB, free: 7.285 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007468/1.661, allocations: 0.5884 MB / 0.5871 GB, free: 6.645 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/1.661, allocations: 4 kB / 0.5871 GB, free: 6.641 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/1.661, allocations: 20 kB / 0.5871 GB, free: 6.621 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/1.661, allocations: 19.98 kB / 0.5871 GB, free: 6.602 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004929/1.662, allocations: 355.9 kB / 0.5874 GB, free: 6.258 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.002365/1.664, allocations: 3.513 MB / 0.5909 GB, free: 2.348 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005332/1.665, allocations: 283.3 kB / 0.5911 GB, free: 2.062 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/1.665, allocations: 189.9 kB / 0.5913 GB, free: 1.875 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.148/1.813, allocations: 81.17 MB / 0.6706 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/1.813, allocations: 38.5 kB / 0.6706 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 1.953e-06/1.813, allocations: 0 / 0.6706 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002704/1.816, allocations: 1.23 MB / 0.6718 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/1.816, allocations: 85.05 kB / 0.6719 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/1.816, allocations: 286.9 kB / 0.6722 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/1.816, allocations: 29.7 kB / 0.6722 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/1.816, allocations: 220.9 kB / 0.6724 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/1.816, allocations: 224.5 kB / 0.6726 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.933e-05/1.816, allocations: 53.69 kB / 0.6727 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.817, allocations: 358.8 kB / 0.673 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/1.817, allocations: 132.5 kB / 0.6732 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/1.817, allocations: 235.9 kB / 0.6734 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004857/1.817, allocations: 419.7 kB / 0.6738 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/1.817, allocations: 0 / 0.6738 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001034/1.819, allocations: 0.6812 MB / 0.6745 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/1.819, allocations: 4 kB / 0.6745 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.819, allocations: 4 kB / 0.6745 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/1.82, allocations: 0.791 MB / 0.6752 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.99e-05/1.82, allocations: 8 kB / 0.6752 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/1.821, allocations: 2.124 MB / 0.6773 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/1.822, allocations: 59.27 kB / 0.6774 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/1.822, allocations: 16 kB / 0.6774 GB, free: 0.5508 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.0001806/1.822, allocations: 175.5 kB / 0.6776 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/1.822, allocations: 35.53 kB / 0.6776 GB, free: 344 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/1.823, allocations: 1.18 MB / 0.6787 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001148/1.825, allocations: 0.8809 MB / 0.6796 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.825, allocations: 0 / 0.6796 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/1.825, allocations: 3.984 kB / 0.6796 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002572/1.827, allocations: 1.99 MB / 0.6815 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/1.827, allocations: 0 / 0.6815 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/1.827, allocations: 67.91 kB / 0.6816 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001072/1.828, allocations: 0.812 MB / 0.6824 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/1.828, allocations: 15.94 kB / 0.6824 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/1.83, allocations: 2.191 MB / 0.6846 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.83, allocations: 4.219 kB / 0.6846 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/1.831, allocations: 1.021 MB / 0.6856 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/1.831, allocations: 168.2 kB / 0.6857 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.315e-05/1.831, allocations: 16 kB / 0.6857 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/1.832, allocations: 31.77 kB / 0.6858 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.048e-05/1.832, allocations: 32.61 kB / 0.6858 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/1.832, allocations: 15.98 kB / 0.6858 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001815/1.832, allocations: 201.9 kB / 0.686 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/1.832, allocations: 4 kB / 0.686 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002588/1.835, allocations: 1.155 MB / 0.6871 GB, free: 6.32 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.004587/1.839, allocations: 1.639 MB / 0.6887 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001273/1.84, allocations: 0.7641 MB / 0.6895 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/1.84, allocations: 0 / 0.6895 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007702/1.841, allocations: 455.1 kB / 0.6899 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/1.842, allocations: 225.4 kB / 0.6901 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/1.844, allocations: 1.418 MB / 0.6915 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/1.844, allocations: 0.9164 MB / 0.6924 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001544/1.845, allocations: 47.25 kB / 0.6925 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.947e-05/1.845, allocations: 35.44 kB / 0.6925 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/1.845, allocations: 0 / 0.6925 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of Templates: time 0.1863/2.031, allocations: 44.86 MB / 0.7363 GB, free: 207.3 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer2.pipe 2>&1) Environment - environmentSimulation: