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.001179/0.001179, allocations: 113.3 kB / 16.42 MB, free: 6.512 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.001166/0.001166, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.222/1.222, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002027/0.002027, allocations: 287.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8728/0.8728, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 95.84 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.369, allocations: 86.97 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002205/0.3712, allocations: 1.406 MB / 0.7684 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008728/0.3721, allocations: 0.5945 MB / 0.769 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.651e-05/0.3721, allocations: 0 / 0.769 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.972e-05/0.3722, allocations: 0 / 0.769 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.44e-05/0.3722, allocations: 7.938 kB / 0.769 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.3726, allocations: 99.56 kB / 0.7691 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.716e-05/0.3726, allocations: 27.86 kB / 0.7691 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.46e-05/0.3727, allocations: 4 kB / 0.7691 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.955e-05/0.3727, allocations: 19.91 kB / 0.7691 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.745e-05/0.3728, allocations: 8 kB / 0.7691 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.3728, allocations: 4 kB / 0.7692 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002462/0.3731, allocations: 143.8 kB / 0.7693 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.092e-05/0.3731, allocations: 7.922 kB / 0.7693 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.937e-05/0.3731, allocations: 11.92 kB / 0.7693 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.3733, allocations: 99.48 kB / 0.7694 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3733, allocations: 4 kB / 0.7694 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3733, allocations: 0 / 0.7694 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.3733, allocations: 4 kB / 0.7694 GB, free: 1.48 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.0004011/0.3737, allocations: 361.9 kB / 0.7698 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.3738, allocations: 12.03 kB / 0.7698 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003963/0.3742, allocations: 32.84 kB / 0.7698 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.3743, allocations: 168.3 kB / 0.77 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.3743, allocations: 384 / 0.77 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.3743, allocations: 384 / 0.77 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.3745, allocations: 66.2 kB / 0.77 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3745, allocations: 192 / 0.77 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.3746, allocations: 7.938 kB / 0.77 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.3746, allocations: 0 / 0.77 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/0.3748, allocations: 51.94 kB / 0.7701 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.3752, allocations: 272.8 kB / 0.7703 GB, free: 396 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.3754, allocations: 62.48 kB / 0.7704 GB, free: 324 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.3756, allocations: 32.89 kB / 0.7704 GB, free: 288 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.3756, allocations: 0 / 0.7704 GB, free: 288 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.3756, allocations: 38.55 kB / 0.7705 GB, free: 240 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.3756, allocations: 4 kB / 0.7705 GB, free: 236 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0004801/0.3761, allocations: 109.5 kB / 0.7706 GB, free: 120 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.3762, allocations: 51.41 kB / 0.7706 GB, free: 56 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.042e-05/0.3762, allocations: 101.9 kB / 0.7707 GB, free: 15.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.3763, allocations: 29.83 kB / 0.7708 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.307e-05/0.3763, allocations: 84.12 kB / 0.7708 GB, free: 15.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.3763, allocations: 3.906 kB / 0.7708 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.3764, allocations: 21.72 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.684e-05/0.3765, allocations: 314.8 kB / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.3766, allocations: 27.97 kB / 0.7712 GB, free: 15.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.3767, allocations: 27.97 kB / 0.7712 GB, free: 15.42 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.377, allocations: 52.81 kB / 0.7713 GB, free: 15.37 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.377, allocations: 0 / 0.7713 GB, free: 15.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002999/0.3773, allocations: 101.6 kB / 0.7714 GB, free: 15.26 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3773, allocations: 10.5 kB / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.3773, allocations: 0 / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.3773, allocations: 0 / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.3775, allocations: 15.98 kB / 0.7714 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3775, allocations: 0 / 0.7714 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.257e-05/0.3776, allocations: 15.95 kB / 0.7714 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3776, allocations: 11.88 kB / 0.7714 GB, free: 15.21 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.357e-05/0.3776, allocations: 109.1 kB / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.3777, allocations: 3.938 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.3777, allocations: 15.3 kB / 0.7715 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.3777, allocations: 0 / 0.7715 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3777, allocations: 3.984 kB / 0.7715 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.3778, allocations: 85.02 kB / 0.7716 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.3778, allocations: 0 / 0.7716 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.3779, allocations: 7.984 kB / 0.7716 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.378, allocations: 4 kB / 0.7716 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003961/0.3784, allocations: 184.8 kB / 0.7718 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003418/0.3787, allocations: 246.8 kB / 0.772 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001344/0.3789, allocations: 36.03 kB / 0.7721 GB, free: 14.48 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.071e-05/0.3789, allocations: 83.27 kB / 0.7722 GB, free: 14.4 MB / 0.545 GB Notification: Performance of Backend: time 1.9e-07/0.3789, allocations: 0 / 0.7722 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005387/0.3794, allocations: 145.8 kB / 0.7723 GB, free: 14.25 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004155/0.3799, allocations: 0.5661 MB / 0.7728 GB, free: 13.64 MB / 0.545 GB Notification: Performance of Templates: time 0.003727/0.3836, allocations: 1.663 MB / 0.7745 GB, free: 11.98 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)