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.00126/0.00126, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001184/0.001184, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.255/1.255, 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.002003/0.002003, allocations: 292.8 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.9143/0.9143, allocations: 169.2 MB / 0.499 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 92.28 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4274/0.4292, allocations: 86.98 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002535/0.4317, allocations: 1.414 MB / 0.7684 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009501/0.4327, allocations: 0.5945 MB / 0.769 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.8e-05/0.4328, allocations: 0 / 0.769 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.947e-05/0.4328, allocations: 7.922 kB / 0.769 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.778e-05/0.4329, allocations: 0 / 0.769 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004049/0.4333, allocations: 103.5 kB / 0.7691 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.889e-05/0.4334, allocations: 23.88 kB / 0.7691 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.312e-05/0.4335, allocations: 11.98 kB / 0.7691 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.828e-05/0.4335, allocations: 7.938 kB / 0.7691 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.617e-05/0.4336, allocations: 11.98 kB / 0.7691 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.4336, allocations: 3.938 kB / 0.7692 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002675/0.4338, allocations: 147.8 kB / 0.7693 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.558e-06/0.4339, allocations: 0 / 0.7693 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.4339, allocations: 11.94 kB / 0.7693 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.4341, allocations: 103.5 kB / 0.7694 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4341, allocations: 0 / 0.7694 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.745e-06/0.4341, allocations: 3.938 kB / 0.7694 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.4341, allocations: 3.938 kB / 0.7694 GB, free: 1.477 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.0004407/0.4346, allocations: 361.9 kB / 0.7698 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.4346, allocations: 8.031 kB / 0.7698 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004103/0.435, allocations: 28.91 kB / 0.7698 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.4352, allocations: 164.4 kB / 0.7699 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.4352, allocations: 4.375 kB / 0.77 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.4352, allocations: 384 / 0.77 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.4354, allocations: 66.2 kB / 0.77 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.4355, allocations: 192 / 0.77 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.4355, allocations: 3.938 kB / 0.77 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.4355, allocations: 3.984 kB / 0.77 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002541/0.4357, allocations: 55.94 kB / 0.7701 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/0.4362, allocations: 280.8 kB / 0.7703 GB, free: 388 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.4364, allocations: 62.47 kB / 0.7704 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.4365, allocations: 32.89 kB / 0.7704 GB, free: 280 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.4366, allocations: 0 / 0.7704 GB, free: 280 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.4366, allocations: 30.56 kB / 0.7705 GB, free: 240 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 2.184e-06/0.4366, allocations: 11.94 kB / 0.7705 GB, free: 228 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0004932/0.4371, allocations: 109.5 kB / 0.7706 GB, free: 112 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.4371, allocations: 51.41 kB / 0.7706 GB, free: 48 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.394e-05/0.4372, allocations: 101.8 kB / 0.7707 GB, free: 15.94 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.4373, allocations: 29.83 kB / 0.7708 GB, free: 15.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.4373, allocations: 84.14 kB / 0.7708 GB, free: 15.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.4373, allocations: 7.906 kB / 0.7708 GB, free: 15.81 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.4374, allocations: 21.7 kB / 0.7709 GB, free: 15.78 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.965e-05/0.4375, allocations: 310.8 kB / 0.7712 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.4376, allocations: 23.97 kB / 0.7712 GB, free: 15.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.4377, allocations: 31.97 kB / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.438, allocations: 60.75 kB / 0.7713 GB, free: 15.35 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.438, allocations: 0 / 0.7713 GB, free: 15.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002967/0.4383, allocations: 97.56 kB / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.4383, allocations: 6.656 kB / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4383, allocations: 0 / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.4383, allocations: 0 / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.4385, allocations: 11.98 kB / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.4385, allocations: 4 kB / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.028e-05/0.4386, allocations: 15.95 kB / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.4386, allocations: 3.984 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 7.699e-05/0.4387, allocations: 120.2 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.4387, allocations: 0 / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.428e-05/0.4387, allocations: 3.125 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.4387, allocations: 0 / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4387, allocations: 0 / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4388, allocations: 4 kB / 0.7715 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.4389, allocations: 177.5 kB / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4389, allocations: 0 / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.439, allocations: 15.97 kB / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4391, allocations: 0 / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.4391, allocations: 0 / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4391, allocations: 7.938 kB / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4391, allocations: 0 / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.4394, allocations: 187.4 kB / 0.7719 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.292e-05/0.4395, allocations: 77.11 kB / 0.772 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.4395, allocations: 0 / 0.772 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.4396, allocations: 11.98 kB / 0.772 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/0.4397, allocations: 0 / 0.772 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.4397, allocations: 7.969 kB / 0.772 GB, free: 14.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.286e-05/0.4397, allocations: 83.27 kB / 0.7721 GB, free: 14.44 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4397, allocations: 0 / 0.7721 GB, free: 14.44 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002315/0.4399, allocations: 16 kB / 0.7721 GB, free: 14.43 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.0001593/0.4401, allocations: 111.2 kB / 0.7722 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003068/0.4404, allocations: 63.88 kB / 0.7722 GB, free: 14.24 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4404, allocations: 3.938 kB / 0.7723 GB, free: 14.24 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.4406, 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.0003229/0.4409, allocations: 4.875 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.000421/0.4413, allocations: 156.5 kB / 0.7724 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.4415, allocations: 0.6768 MB / 0.7731 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.4416, allocations: 7.438 kB / 0.7731 GB, free: 13.31 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.4416, allocations: 4 kB / 0.7731 GB, free: 13.3 MB / 0.545 GB Notification: Performance of Templates: time 0.002194/0.4438, allocations: 0.9086 MB / 0.774 GB, free: 12.41 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)