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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00098/0.00098, allocations: 110.3 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001105, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002024/0.002024, allocations: 281.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9068/0.9068, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 103.8 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4601/0.4619, allocations: 86.98 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.00243/0.4644, allocations: 1.402 MB / 0.7684 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005447/0.4649, allocations: 291.1 kB / 0.7687 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.842e-05/0.465, allocations: 0 / 0.7687 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.465, allocations: 3.938 kB / 0.7687 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.239e-05/0.4651, allocations: 7.969 kB / 0.7687 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.4654, allocations: 55.75 kB / 0.7687 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.446e-05/0.4655, allocations: 35.8 kB / 0.7688 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.4656, allocations: 4 kB / 0.7688 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.686e-05/0.4656, allocations: 11.98 kB / 0.7688 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.988e-05/0.4657, allocations: 11.94 kB / 0.7688 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.4657, allocations: 0 / 0.7688 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.4659, allocations: 91.83 kB / 0.7689 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.377e-06/0.4659, allocations: 0 / 0.7689 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.4659, allocations: 15.92 kB / 0.7689 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.4661, allocations: 63.58 kB / 0.769 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4661, allocations: 4 kB / 0.769 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4661, allocations: 3.938 kB / 0.769 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.4661, allocations: 0 / 0.769 GB, free: 1.91 MB / 0.5294 GB 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.0004655/0.4666, allocations: 349.9 kB / 0.7693 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.4666, allocations: 8.031 kB / 0.7693 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.4667, allocations: 4.938 kB / 0.7693 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.4668, allocations: 168.3 kB / 0.7695 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.4668, allocations: 4.375 kB / 0.7695 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.4668, allocations: 4.375 kB / 0.7695 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.467, allocations: 50.23 kB / 0.7695 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.467, allocations: 4.188 kB / 0.7695 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.467, allocations: 3.938 kB / 0.7695 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.467, allocations: 0 / 0.7695 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.4672, allocations: 27.97 kB / 0.7696 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.4675, allocations: 256.8 kB / 0.7698 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.4676, allocations: 46.5 kB / 0.7699 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.22e-05/0.4677, allocations: 16.91 kB / 0.7699 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.4678, allocations: 0 / 0.7699 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.4678, allocations: 38.55 kB / 0.7699 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.4678, allocations: 0 / 0.7699 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003241/0.4681, allocations: 81.59 kB / 0.77 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.4682, allocations: 55.39 kB / 0.77 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.903e-05/0.4682, allocations: 101.9 kB / 0.7701 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.4682, allocations: 25.7 kB / 0.7702 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.453e-05/0.4683, allocations: 80.14 kB / 0.7702 GB, free: 420 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.4683, allocations: 7.906 kB / 0.7703 GB, free: 412 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.4683, allocations: 21.83 kB / 0.7703 GB, free: 384 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.083e-05/0.4684, allocations: 310.8 kB / 0.7706 GB, free: 64 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.669e-05/0.4685, allocations: 15.98 kB / 0.7706 GB, free: 48 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.73e-05/0.4686, allocations: 15.98 kB / 0.7706 GB, free: 32 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.4688, allocations: 36.88 kB / 0.7706 GB, free: 15.99 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4688, allocations: 4 kB / 0.7706 GB, free: 15.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001795/0.469, allocations: 73.55 kB / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.469, allocations: 7.984 kB / 0.7707 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.469, allocations: 4 kB / 0.7707 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.469, allocations: 0 / 0.7707 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.264e-05/0.4691, allocations: 4 kB / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.4691, allocations: 3.938 kB / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.843e-05/0.4692, allocations: 16.02 kB / 0.7707 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.4692, allocations: 0 / 0.7707 GB, free: 15.88 MB / 0.545 GB 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 6.391e-05/0.4692, allocations: 113.8 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.4693, allocations: 0 / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/0.4695, allocations: 84.64 kB / 0.7709 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.4695, allocations: 0 / 0.7709 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4695, allocations: 0 / 0.7709 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.4695, allocations: 4.219 kB / 0.7709 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.4697, allocations: 157.6 kB / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4697, allocations: 0 / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.359e-05/0.4697, allocations: 11.98 kB / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.4697, allocations: 3.984 kB / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.4697, allocations: 0 / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4697, allocations: 0 / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4697, allocations: 0 / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.47, allocations: 171.4 kB / 0.7713 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.297e-05/0.47, allocations: 77.11 kB / 0.7713 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.47, allocations: 4 kB / 0.7713 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.4701, allocations: 3.984 kB / 0.7713 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.4701, allocations: 4 kB / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.4701, allocations: 0 / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.268e-05/0.4702, allocations: 91.2 kB / 0.7714 GB, free: 15.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4702, allocations: 4.031 kB / 0.7714 GB, free: 15.06 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002174/0.4704, allocations: 12 kB / 0.7715 GB, free: 15.05 MB / 0.545 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 (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.0001575/0.4706, allocations: 107.2 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002033/0.4708, allocations: 39.95 kB / 0.7716 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4708, allocations: 0 / 0.7716 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.389e-05/0.4709, allocations: 20.05 kB / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.4712, allocations: 7.938 kB / 0.7716 GB, free: 14.87 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00028/0.4714, allocations: 142.1 kB / 0.7718 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.4717, allocations: 0.6768 MB / 0.7724 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.197e-05/0.4717, allocations: 7.438 kB / 0.7724 GB, free: 13.98 MB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.4717, allocations: 0 / 0.7724 GB, free: 13.98 MB / 0.545 GB Notification: Performance of Templates: time 0.001899/0.4736, allocations: 0.6853 MB / 0.7731 GB, free: 13.3 MB / 0.545 GB 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)