Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 107.8 kB / 16.4 MB, free: 6.465 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.001253/0.001253, allocations: 192 kB / 17.34 MB, free: 5.711 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.479/1.479, allocations: 222.9 MB / 241.1 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.002984/0.002984, allocations: 288 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9863/0.9863, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002811/0.002811, allocations: 99.83 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.4386, allocations: 86.97 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002765/0.4414, allocations: 1.41 MB / 0.7684 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.4425, allocations: 0.5945 MB / 0.769 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.196e-05/0.4425, allocations: 0 / 0.769 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.043e-05/0.4426, allocations: 7.984 kB / 0.769 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.081e-05/0.4426, allocations: 7.938 kB / 0.769 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.443, allocations: 95.56 kB / 0.7691 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.841e-05/0.4431, allocations: 19.94 kB / 0.7691 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.4432, allocations: 11.97 kB / 0.7691 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.658e-05/0.4433, allocations: 11.88 kB / 0.7691 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.422e-05/0.4433, allocations: 11.98 kB / 0.7692 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.4434, allocations: 0 / 0.7692 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.4436, allocations: 143.8 kB / 0.7693 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.4437, allocations: 11.92 kB / 0.7693 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.4437, allocations: 8 kB / 0.7693 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.4439, allocations: 105.4 kB / 0.7694 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4439, allocations: 0 / 0.7694 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4439, allocations: 0 / 0.7694 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.4439, allocations: 0 / 0.7694 GB, free: 1.492 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.0005853/0.4445, allocations: 359.2 kB / 0.7698 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.4446, allocations: 12.03 kB / 0.7698 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004673/0.445, allocations: 36.78 kB / 0.7698 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.4452, allocations: 172.3 kB / 0.77 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.4452, allocations: 384 / 0.77 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.4452, allocations: 384 / 0.77 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.4455, allocations: 70.2 kB / 0.77 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.4455, allocations: 192 / 0.77 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.4455, allocations: 3.938 kB / 0.77 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.4455, allocations: 4 kB / 0.77 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000269/0.4458, allocations: 51.94 kB / 0.7701 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004767/0.4463, allocations: 268.9 kB / 0.7703 GB, free: 400 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.4465, allocations: 70.41 kB / 0.7704 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.4466, allocations: 28.89 kB / 0.7704 GB, free: 288 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.4467, allocations: 4 kB / 0.7704 GB, free: 284 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.4467, allocations: 34.56 kB / 0.7705 GB, free: 240 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4467, allocations: 0 / 0.7705 GB, free: 240 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0005209/0.4472, allocations: 109.5 kB / 0.7706 GB, free: 124 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.4473, allocations: 51.41 kB / 0.7706 GB, free: 60 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.4474, allocations: 114 kB / 0.7707 GB, free: 15.94 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.4474, allocations: 25.7 kB / 0.7708 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/0.4474, allocations: 80.14 kB / 0.7708 GB, free: 15.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.4474, allocations: 11.89 kB / 0.7708 GB, free: 15.81 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.4475, allocations: 21.7 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.4476, allocations: 310.8 kB / 0.7712 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.4478, allocations: 27.97 kB / 0.7712 GB, free: 15.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.4479, allocations: 27.97 kB / 0.7712 GB, free: 15.42 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.4481, allocations: 56.81 kB / 0.7713 GB, free: 15.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4481, allocations: 0 / 0.7713 GB, free: 15.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003109/0.4485, allocations: 101.5 kB / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.4485, allocations: 4 kB / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.4485, allocations: 4 kB / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.4485, allocations: 0 / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.4486, allocations: 11.98 kB / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.4486, allocations: 0 / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.269e-05/0.4487, allocations: 12.02 kB / 0.7714 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.4487, allocations: 3.938 kB / 0.7714 GB, free: 15.22 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 0.0001099/0.4488, allocations: 124.2 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.4489, allocations: 0 / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.594e-05/0.4489, allocations: 3.125 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.4489, allocations: 4 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4489, allocations: 7.938 kB / 0.7715 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.4489, allocations: 0 / 0.7715 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.4491, allocations: 169.6 kB / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4491, allocations: 0 / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.4492, allocations: 15.97 kB / 0.7717 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.4492, allocations: 4 kB / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.4492, allocations: 0 / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4492, allocations: 0 / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4492, allocations: 0 / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/0.4496, allocations: 191.4 kB / 0.7719 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.4496, allocations: 85.06 kB / 0.772 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.4497, allocations: 0 / 0.772 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.4498, allocations: 7.984 kB / 0.772 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.4498, allocations: 4.031 kB / 0.772 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.4498, allocations: 8 kB / 0.772 GB, free: 14.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.037e-05/0.4499, allocations: 79.27 kB / 0.7721 GB, free: 14.44 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.4499, allocations: 0 / 0.7721 GB, free: 14.44 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002482/0.4501, allocations: 19.94 kB / 0.7721 GB, free: 14.42 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.0001743/0.4503, allocations: 107.2 kB / 0.7722 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003269/0.4506, allocations: 63.88 kB / 0.7723 GB, free: 14.24 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4506, allocations: 0 / 0.7723 GB, free: 14.24 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.4508, allocations: 27.97 kB / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.4511, allocations: 7.562 kB / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004782/0.4515, allocations: 138.7 kB / 0.7724 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.4519, allocations: 0.6729 MB / 0.7731 GB, free: 13.35 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.413e-05/0.4519, allocations: 15.92 kB / 0.7731 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.452, allocations: 11.44 kB / 0.7731 GB, free: 13.32 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.452, allocations: 0 / 0.7731 GB, free: 13.32 MB / 0.545 GB Notification: Performance of Templates: time 0.003504/0.4555, allocations: 0.7979 MB / 0.7739 GB, free: 12.53 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)