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.001285/0.001285, allocations: 106.1 kB / 16.41 MB, free: 6.449 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.001234/0.001234, allocations: 189.6 kB / 17.34 MB, free: 5.746 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.281/1.281, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002161/0.002161, allocations: 301.2 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.888/0.888, allocations: 169.3 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 95.86 kB / 0.6821 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4402, allocations: 86.97 MB / 0.767 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002675/0.4429, allocations: 1.41 MB / 0.7684 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005607/0.4435, allocations: 287.1 kB / 0.7687 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.073e-05/0.4435, allocations: 0 / 0.7687 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.4436, allocations: 11.94 kB / 0.7687 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.912e-05/0.4437, allocations: 7.922 kB / 0.7687 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.444, allocations: 51.75 kB / 0.7687 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.022e-05/0.4441, allocations: 31.86 kB / 0.7688 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.222e-05/0.4442, allocations: 4 kB / 0.7688 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.192e-05/0.4442, allocations: 15.97 kB / 0.7688 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.994e-05/0.4443, allocations: 11.94 kB / 0.7688 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.4443, allocations: 0 / 0.7688 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.4445, allocations: 87.84 kB / 0.7689 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.588e-06/0.4445, allocations: 4 kB / 0.7689 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.4445, allocations: 15.92 kB / 0.7689 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.4447, allocations: 67.66 kB / 0.769 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.4447, allocations: 4 kB / 0.769 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.216e-06/0.4447, allocations: 0 / 0.769 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.4448, allocations: 3.938 kB / 0.769 GB, free: 2.113 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.0004848/0.4452, allocations: 346 kB / 0.7693 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.4453, allocations: 8.031 kB / 0.7693 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.4453, allocations: 4.938 kB / 0.7693 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.4455, allocations: 168.4 kB / 0.7695 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.4455, allocations: 384 / 0.7695 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.4455, allocations: 384 / 0.7695 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.4457, allocations: 50.23 kB / 0.7695 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.4457, allocations: 192 / 0.7695 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.4457, allocations: 3.938 kB / 0.7695 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.4457, allocations: 4 kB / 0.7695 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.4459, allocations: 35.91 kB / 0.7696 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.4462, allocations: 256.8 kB / 0.7698 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.4464, allocations: 38.5 kB / 0.7699 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.589e-05/0.4465, allocations: 24.91 kB / 0.7699 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.4465, allocations: 0 / 0.7699 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.4465, allocations: 38.55 kB / 0.7699 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.4465, allocations: 0 / 0.7699 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003452/0.4469, allocations: 81.59 kB / 0.77 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.4469, allocations: 55.39 kB / 0.77 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.219e-05/0.447, allocations: 93.86 kB / 0.7701 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.447, allocations: 29.83 kB / 0.7702 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.4471, allocations: 88.14 kB / 0.7703 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.4471, allocations: 3.906 kB / 0.7703 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.4472, allocations: 17.7 kB / 0.7703 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.4473, allocations: 314.8 kB / 0.7706 GB, free: 276 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.92e-05/0.4474, allocations: 11.98 kB / 0.7706 GB, free: 264 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.926e-05/0.4474, allocations: 15.98 kB / 0.7706 GB, free: 248 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.4476, allocations: 44.88 kB / 0.7706 GB, free: 200 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4476, allocations: 3.938 kB / 0.7706 GB, free: 196 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001893/0.4478, allocations: 65.61 kB / 0.7707 GB, free: 124 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.4478, allocations: 7.984 kB / 0.7707 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4478, allocations: 0 / 0.7707 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.4479, allocations: 4.031 kB / 0.7707 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.899e-05/0.4479, allocations: 15.94 kB / 0.7707 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.448, allocations: 0 / 0.7707 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.728e-05/0.448, allocations: 7.984 kB / 0.7707 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.448, allocations: 0 / 0.7707 GB, free: 88 kB / 0.5294 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 9.02e-05/0.4481, allocations: 120.2 kB / 0.7709 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.4481, allocations: 0 / 0.7709 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.4484, allocations: 72.72 kB / 0.7709 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.4484, allocations: 3.984 kB / 0.7709 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.4484, allocations: 4 kB / 0.7709 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4484, allocations: 0 / 0.7709 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.4486, allocations: 157.6 kB / 0.7711 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4486, allocations: 192 / 0.7711 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.506e-05/0.4486, allocations: 7.984 kB / 0.7711 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.4487, allocations: 4 kB / 0.7711 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.4487, allocations: 3.984 kB / 0.7711 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4487, allocations: 3.938 kB / 0.7711 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4487, allocations: 4.031 kB / 0.7711 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.4489, allocations: 171.3 kB / 0.7713 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.449, allocations: 77.11 kB / 0.7713 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.449, allocations: 0 / 0.7713 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.408e-05/0.4491, allocations: 7.984 kB / 0.7714 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.4491, allocations: 4.031 kB / 0.7714 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.4491, allocations: 4 kB / 0.7714 GB, free: 15.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.6e-05/0.4492, allocations: 83.27 kB / 0.7714 GB, free: 15.28 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4492, allocations: 4 kB / 0.7714 GB, free: 15.27 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000226/0.4494, allocations: 12 kB / 0.7715 GB, free: 15.26 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.0001802/0.4496, allocations: 107.2 kB / 0.7716 GB, free: 15.14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.4498, allocations: 39.95 kB / 0.7716 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4498, allocations: 0 / 0.7716 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.519e-05/0.4499, allocations: 19.98 kB / 0.7716 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.4502, allocations: 16.75 kB / 0.7716 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.4505, allocations: 141.2 kB / 0.7718 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.4508, allocations: 0.6769 MB / 0.7724 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.4508, allocations: 11.44 kB / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of SimCode: time 1.703e-06/0.4508, allocations: 0 / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of Templates: time 0.002106/0.453, allocations: 0.6866 MB / 0.7731 GB, free: 13.5 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)