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.00101/0.00101, allocations: 116.2 kB / 16.42 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.001072/0.001072, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.242/1.242, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00204/0.00204, allocations: 301.5 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.897/0.897, allocations: 169.2 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 95.86 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3594, allocations: 86.98 MB / 0.767 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.00221/0.3616, allocations: 1.399 MB / 0.7684 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008452/0.3625, allocations: 0.5984 MB / 0.769 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.118e-05/0.3625, allocations: 0 / 0.769 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.423e-05/0.3626, allocations: 4 kB / 0.769 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.249e-05/0.3626, allocations: 3.938 kB / 0.769 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.363, allocations: 103.5 kB / 0.7691 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.956e-05/0.363, allocations: 27.88 kB / 0.7691 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.549e-05/0.3631, allocations: 3.984 kB / 0.7691 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.553e-05/0.3632, allocations: 11.94 kB / 0.7691 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.163e-05/0.3632, allocations: 11.98 kB / 0.7692 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.3632, allocations: 4 kB / 0.7692 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.3635, allocations: 143.8 kB / 0.7693 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.3635, allocations: 7.938 kB / 0.7693 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.3635, allocations: 12 kB / 0.7693 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.3637, allocations: 95.47 kB / 0.7694 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3637, allocations: 0 / 0.7694 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3637, allocations: 4 kB / 0.7694 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.3637, allocations: 0 / 0.7694 GB, free: 1.457 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.0004262/0.3642, allocations: 357.9 kB / 0.7697 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3642, allocations: 15.97 kB / 0.7698 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004146/0.3646, allocations: 40.83 kB / 0.7698 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.3648, allocations: 164.4 kB / 0.77 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3648, allocations: 384 / 0.77 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.3648, allocations: 384 / 0.77 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.365, allocations: 66.2 kB / 0.77 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.365, allocations: 192 / 0.77 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.3651, allocations: 3.938 kB / 0.77 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3651, allocations: 4 kB / 0.77 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000255/0.3653, allocations: 51.94 kB / 0.7701 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.3657, allocations: 276.8 kB / 0.7703 GB, free: 364 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.366, allocations: 62.47 kB / 0.7704 GB, free: 292 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.3661, allocations: 32.89 kB / 0.7704 GB, free: 256 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.3661, allocations: 0 / 0.7704 GB, free: 256 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.3662, allocations: 38.56 kB / 0.7705 GB, free: 208 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3662, allocations: 0 / 0.7705 GB, free: 208 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0004757/0.3666, allocations: 109.5 kB / 0.7706 GB, free: 92 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.3667, allocations: 55.41 kB / 0.7706 GB, free: 24 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.514e-05/0.3668, allocations: 106 kB / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.3668, allocations: 25.7 kB / 0.7708 GB, free: 15.88 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/0.3668, allocations: 84.08 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.3669, allocations: 3.906 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.661e-05/0.3669, allocations: 25.7 kB / 0.7709 GB, free: 15.76 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.441e-05/0.367, allocations: 310.8 kB / 0.7712 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.3671, allocations: 27.97 kB / 0.7712 GB, free: 15.42 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.3673, allocations: 27.97 kB / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.3675, allocations: 56.8 kB / 0.7713 GB, free: 15.33 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.3675, allocations: 4 kB / 0.7713 GB, free: 15.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002929/0.3678, allocations: 97.77 kB / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3678, allocations: 10.81 kB / 0.7714 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3678, allocations: 0 / 0.7714 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.3679, allocations: 3.984 kB / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.368, allocations: 15.97 kB / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.368, allocations: 0 / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.537e-05/0.3681, allocations: 11.97 kB / 0.7714 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.3681, allocations: 11.92 kB / 0.7714 GB, free: 15.18 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.122e-05/0.3682, allocations: 108.2 kB / 0.7715 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.3682, allocations: 3.938 kB / 0.7715 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.3683, allocations: 11.12 kB / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3683, allocations: 0 / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3683, allocations: 4 kB / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/0.3683, allocations: 81.02 kB / 0.7716 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.3683, allocations: 0 / 0.7716 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.3684, allocations: 11.98 kB / 0.7716 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.3685, allocations: 3.984 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003924/0.3689, allocations: 180.8 kB / 0.7718 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003345/0.3692, allocations: 250.8 kB / 0.772 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001315/0.3694, allocations: 36.03 kB / 0.7721 GB, free: 14.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.016e-05/0.3694, allocations: 79.28 kB / 0.7722 GB, free: 14.38 MB / 0.545 GB Notification: Performance of Backend: time 2.1e-07/0.3694, allocations: 0 / 0.7722 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005535/0.37, allocations: 143.4 kB / 0.7723 GB, free: 14.23 MB / 0.545 GB Notification: Performance of SimCode: time 0.00045/0.3704, allocations: 0.57 MB / 0.7728 GB, free: 13.61 MB / 0.545 GB Notification: Performance of Templates: time 0.003539/0.374, allocations: 1.668 MB / 0.7745 GB, free: 11.95 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)