Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 115.5 kB / 16.42 MB, free: 5.988 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.001004/0.001004, allocations: 184.5 kB / 17.35 MB, free: 5.602 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.23/1.23, 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.002048/0.002048, allocations: 280.9 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.8887/0.8887, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 103.8 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3609, allocations: 86.97 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002381/0.3633, allocations: 1.292 MB / 0.7683 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008002/0.3641, allocations: 0.5672 MB / 0.7689 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.525e-05/0.3642, allocations: 4 kB / 0.7689 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.3642, allocations: 3.984 kB / 0.7689 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.916e-05/0.3642, allocations: 3.938 kB / 0.7689 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.3646, allocations: 95.56 kB / 0.769 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.153e-05/0.3647, allocations: 19.86 kB / 0.769 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.497e-05/0.3647, allocations: 4 kB / 0.769 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.955e-05/0.3647, allocations: 4 kB / 0.769 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.974e-05/0.3648, allocations: 15.94 kB / 0.769 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.307e-06/0.3648, allocations: 0 / 0.769 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002459/0.365, allocations: 143.7 kB / 0.7692 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.556e-06/0.3651, allocations: 4 kB / 0.7692 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.913e-05/0.3651, allocations: 11.92 kB / 0.7692 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.3653, allocations: 83.42 kB / 0.7693 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.3653, allocations: 0 / 0.7693 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3653, allocations: 0 / 0.7693 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.3653, allocations: 0 / 0.7693 GB, free: 1.684 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003359/0.3656, allocations: 346.2 kB / 0.7696 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3657, allocations: 15.97 kB / 0.7696 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004055/0.3661, allocations: 32.8 kB / 0.7696 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.392e-05/0.3662, allocations: 160.4 kB / 0.7698 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.3662, allocations: 4.375 kB / 0.7698 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.3662, allocations: 4.375 kB / 0.7698 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.3664, allocations: 54.16 kB / 0.7698 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.3664, allocations: 192 / 0.7698 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3664, allocations: 3.938 kB / 0.7698 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.3664, allocations: 0 / 0.7698 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.3665, allocations: 19.98 kB / 0.7699 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.3667, allocations: 153.7 kB / 0.77 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.3668, allocations: 50.58 kB / 0.7701 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.378e-05/0.3669, allocations: 12.91 kB / 0.7701 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.3669, allocations: 0 / 0.7701 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.3669, allocations: 38.56 kB / 0.7701 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3669, allocations: 3.938 kB / 0.7701 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0002908/0.3672, allocations: 77.59 kB / 0.7702 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.3673, allocations: 51.41 kB / 0.7702 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.784e-05/0.3673, allocations: 97.84 kB / 0.7703 GB, free: 400 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.3674, allocations: 29.69 kB / 0.7704 GB, free: 364 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/0.3674, allocations: 84.12 kB / 0.7704 GB, free: 276 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.3674, allocations: 7.906 kB / 0.7704 GB, free: 268 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.3675, allocations: 17.84 kB / 0.7705 GB, free: 244 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.3676, allocations: 318.8 kB / 0.7708 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.381e-05/0.3676, allocations: 12 kB / 0.7708 GB, free: 15.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.425e-05/0.3677, allocations: 7.984 kB / 0.7708 GB, free: 15.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.3678, allocations: 44.83 kB / 0.7708 GB, free: 15.85 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3678, allocations: 0 / 0.7708 GB, free: 15.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000163/0.368, allocations: 53.67 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.368, allocations: 4 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.368, allocations: 4 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.368, allocations: 3.938 kB / 0.7709 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.295e-05/0.3681, allocations: 7.984 kB / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.3682, allocations: 0 / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.19e-05/0.3682, allocations: 8.031 kB / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.3682, allocations: 3.938 kB / 0.7709 GB, free: 15.76 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.119e-05/0.3683, allocations: 109.8 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.3683, allocations: 3.906 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.927e-05/0.3684, allocations: 15.05 kB / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.3684, allocations: 0 / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3684, allocations: 0 / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.3684, allocations: 81.11 kB / 0.7711 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.3685, allocations: 3.984 kB / 0.7711 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.323e-05/0.3685, allocations: 11.94 kB / 0.7711 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.3685, allocations: 4 kB / 0.7711 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000231/0.3688, allocations: 136.9 kB / 0.7713 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002146/0.369, allocations: 230.8 kB / 0.7715 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.501e-05/0.3691, allocations: 19.92 kB / 0.7715 GB, free: 15.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.852e-05/0.3691, allocations: 79.28 kB / 0.7716 GB, free: 15.03 MB / 0.545 GB Notification: Performance of Backend: time 2.31e-07/0.3691, allocations: 0 / 0.7716 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004593/0.3696, allocations: 138.3 kB / 0.7717 GB, free: 14.89 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003754/0.37, allocations: 0.5583 MB / 0.7722 GB, free: 14.28 MB / 0.545 GB Notification: Performance of Templates: time 0.003389/0.3734, allocations: 1.471 MB / 0.7737 GB, free: 12.82 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)