Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8764/0.8764, allocations: 143.4 MB / 159.2 MB, free: 4.91 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 180.5 kB / 191.9 MB, free: 5.695 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 447.3 MB, free: 5.828 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 95.75 kB / 0.517 GB, free: 3.688 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001825/0.001825, allocations: 283.6 kB / 0.5973 GB, free: 49.34 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 79.88 kB / 0.6885 GB, free: 3.816 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3661, allocations: 81.3 MB / 0.7679 GB, free: 27.63 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002345/0.3685, allocations: 1.476 MB / 0.7694 GB, free: 26.15 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005267/0.369, allocations: 287.1 kB / 0.7697 GB, free: 25.87 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.365e-05/0.3691, allocations: 0 / 0.7697 GB, free: 25.87 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.671e-05/0.3691, allocations: 3.938 kB / 0.7697 GB, free: 25.87 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.715e-05/0.3692, allocations: 7.984 kB / 0.7697 GB, free: 25.86 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.3695, allocations: 51.81 kB / 0.7697 GB, free: 25.81 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.909e-05/0.3695, allocations: 23.88 kB / 0.7697 GB, free: 25.79 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.3697, allocations: 4 kB / 0.7697 GB, free: 25.78 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.427e-05/0.3697, allocations: 11.92 kB / 0.7697 GB, free: 25.77 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.813e-05/0.3698, allocations: 11.98 kB / 0.7698 GB, free: 25.76 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.3698, allocations: 0 / 0.7698 GB, free: 25.76 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.3699, allocations: 99.77 kB / 0.7699 GB, free: 25.66 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.37, allocations: 0 / 0.7699 GB, free: 25.66 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.37, allocations: 11.94 kB / 0.7699 GB, free: 25.65 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.3702, allocations: 70.52 kB / 0.7699 GB, free: 25.58 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.3702, allocations: 0 / 0.7699 GB, free: 25.58 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3702, allocations: 0 / 0.7699 GB, free: 25.58 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.3702, allocations: 4 kB / 0.7699 GB, free: 25.58 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004194/0.3706, allocations: 347.4 kB / 0.7703 GB, free: 25.19 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3707, allocations: 11.97 kB / 0.7703 GB, free: 25.18 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.3707, allocations: 0.9375 kB / 0.7703 GB, free: 25.18 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.644e-05/0.3708, allocations: 164.4 kB / 0.7704 GB, free: 24.98 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.3708, allocations: 4.375 kB / 0.7704 GB, free: 24.97 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.3708, allocations: 4.375 kB / 0.7704 GB, free: 24.97 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.371, allocations: 54.17 kB / 0.7705 GB, free: 24.91 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.371, allocations: 192 / 0.7705 GB, free: 24.91 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.371, allocations: 3.938 kB / 0.7705 GB, free: 24.91 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.371, allocations: 0 / 0.7705 GB, free: 24.91 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.3712, allocations: 35.95 kB / 0.7705 GB, free: 24.87 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.3715, allocations: 248.9 kB / 0.7708 GB, free: 24.58 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.3716, allocations: 46.47 kB / 0.7708 GB, free: 24.52 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.015e-05/0.3717, allocations: 20.91 kB / 0.7708 GB, free: 24.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.3717, allocations: 0 / 0.7708 GB, free: 24.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.3718, allocations: 42.5 kB / 0.7709 GB, free: 24.45 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.3718, allocations: 0 / 0.7709 GB, free: 24.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003302/0.3721, allocations: 85.53 kB / 0.771 GB, free: 24.36 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.3721, allocations: 55.41 kB / 0.771 GB, free: 24.29 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.031e-05/0.3722, allocations: 105.8 kB / 0.7711 GB, free: 24.18 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.123e-06/0.3722, allocations: 25.7 kB / 0.7711 GB, free: 24.15 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.647e-05/0.3722, allocations: 84.27 kB / 0.7712 GB, free: 24.06 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.3723, allocations: 11.91 kB / 0.7712 GB, free: 24.05 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/0.3723, allocations: 9.719 kB / 0.7712 GB, free: 24.04 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.697e-05/0.3723, allocations: 314.8 kB / 0.7715 GB, free: 23.72 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.425e-05/0.3724, allocations: 19.97 kB / 0.7716 GB, free: 23.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.5e-05/0.3725, allocations: 11.98 kB / 0.7716 GB, free: 23.69 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.3726, allocations: 40.89 kB / 0.7716 GB, free: 23.64 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3726, allocations: 0 / 0.7716 GB, free: 23.64 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001746/0.3728, allocations: 73.59 kB / 0.7717 GB, free: 23.57 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3728, allocations: 4 kB / 0.7717 GB, free: 23.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3729, allocations: 0 / 0.7717 GB, free: 23.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3729, allocations: 0 / 0.7717 GB, free: 23.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.157e-05/0.373, allocations: 15.92 kB / 0.7717 GB, free: 23.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.373, allocations: 4.031 kB / 0.7717 GB, free: 23.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.311e-05/0.373, allocations: 7.984 kB / 0.7717 GB, free: 23.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.373, allocations: 0 / 0.7717 GB, free: 23.54 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.895e-05/0.3731, allocations: 109.8 kB / 0.7718 GB, free: 23.42 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.3731, allocations: 4 kB / 0.7718 GB, free: 23.41 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001963/0.3733, allocations: 72.72 kB / 0.7719 GB, free: 23.34 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3733, allocations: 4.031 kB / 0.7719 GB, free: 23.34 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3733, allocations: 0 / 0.7719 GB, free: 23.34 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3734, allocations: 4 kB / 0.7719 GB, free: 23.33 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.3735, allocations: 165.6 kB / 0.7721 GB, free: 23.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3735, allocations: 0 / 0.7721 GB, free: 23.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.055e-05/0.3735, allocations: 4 kB / 0.7721 GB, free: 23.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3735, allocations: 3.938 kB / 0.7721 GB, free: 23.11 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.3736, allocations: 7.984 kB / 0.7721 GB, free: 23.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3736, allocations: 0 / 0.7721 GB, free: 23.11 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3736, allocations: 0 / 0.7721 GB, free: 23.11 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.3739, allocations: 0.7239 MB / 0.7728 GB, free: 22.32 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/0.374, allocations: 89.03 kB / 0.7729 GB, free: 22.22 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.374, allocations: 0 / 0.7729 GB, free: 22.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.03e-05/0.3741, allocations: 8.031 kB / 0.7729 GB, free: 22.21 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.3741, allocations: 3.984 kB / 0.7729 GB, free: 22.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.3741, allocations: 3.938 kB / 0.7729 GB, free: 22.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.989e-05/0.3741, allocations: 79.28 kB / 0.773 GB, free: 22.12 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3741, allocations: 0 / 0.773 GB, free: 22.12 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003098/0.3745, allocations: 12 kB / 0.773 GB, free: 22.11 MB / 458.7 MB 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001518/0.3746, allocations: 111.8 kB / 0.7731 GB, free: 21.99 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.3748, allocations: 43.95 kB / 0.7731 GB, free: 21.95 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3748, allocations: 0 / 0.7731 GB, free: 21.95 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.46e-05/0.3749, allocations: 19.92 kB / 0.7731 GB, free: 21.93 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.3752, allocations: 5.875 kB / 0.7731 GB, free: 21.93 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/0.3755, allocations: 223.5 kB / 0.7733 GB, free: 21.67 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.862e-05/0.3756, allocations: 0.6808 MB / 0.774 GB, free: 20.96 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.124e-05/0.3756, allocations: 0 / 0.774 GB, free: 20.96 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.3757, allocations: 11.44 kB / 0.774 GB, free: 20.95 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3757, allocations: 0 / 0.774 GB, free: 20.95 MB / 458.7 MB Notification: Performance of Templates: time 0.002325/0.378, allocations: 0.5616 MB / 0.7746 GB, free: 20.4 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)