Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.001035/0.001035, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.238/1.238, allocations: 222.9 MB / 241 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.002023/0.002023, allocations: 283.9 kB / 291.4 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.8804/0.8804, allocations: 169.2 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 98.23 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1489, allocations: 86.97 MB / 0.6816 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002102/0.1511, allocations: 1.292 MB / 0.6829 GB, free: 6.129 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008881/0.152, allocations: 0.6356 MB / 0.6835 GB, free: 5.488 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.61e-05/0.152, allocations: 0 / 0.6835 GB, free: 5.488 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.877e-05/0.152, allocations: 3.938 kB / 0.6835 GB, free: 5.484 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.906e-05/0.1521, allocations: 7.922 kB / 0.6835 GB, free: 5.477 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.1525, allocations: 99.56 kB / 0.6836 GB, free: 5.379 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.51e-05/0.1525, allocations: 31.84 kB / 0.6836 GB, free: 5.348 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.1526, allocations: 3.984 kB / 0.6836 GB, free: 5.344 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.327e-05/0.1526, allocations: 15.98 kB / 0.6837 GB, free: 5.328 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.394e-05/0.1527, allocations: 11.94 kB / 0.6837 GB, free: 5.316 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.738e-06/0.1527, allocations: 0 / 0.6837 GB, free: 5.316 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002395/0.1529, allocations: 147.8 kB / 0.6838 GB, free: 5.172 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.1529, allocations: 3.984 kB / 0.6838 GB, free: 5.168 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.153, allocations: 15.94 kB / 0.6838 GB, free: 5.152 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.1531, allocations: 91.81 kB / 0.6839 GB, free: 5.062 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1532, allocations: 4 kB / 0.6839 GB, free: 5.059 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1532, allocations: 3.938 kB / 0.6839 GB, free: 5.055 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1532, allocations: 0 / 0.6839 GB, free: 5.055 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004093/0.1536, allocations: 355.5 kB / 0.6843 GB, free: 4.656 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.1536, allocations: 12.03 kB / 0.6843 GB, free: 4.645 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003945/0.154, allocations: 24.91 kB / 0.6843 GB, free: 4.621 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.436e-05/0.1541, allocations: 168.3 kB / 0.6845 GB, free: 4.418 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.1542, allocations: 384 / 0.6845 GB, free: 4.418 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.1542, allocations: 8.281 kB / 0.6845 GB, free: 4.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.1543, allocations: 62.22 kB / 0.6845 GB, free: 4.344 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.1544, allocations: 192 / 0.6845 GB, free: 4.344 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1544, allocations: 3.938 kB / 0.6845 GB, free: 4.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1544, allocations: 0 / 0.6845 GB, free: 4.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.1545, allocations: 27.97 kB / 0.6846 GB, free: 4.312 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.1547, allocations: 157.7 kB / 0.6847 GB, free: 4.109 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.155, allocations: 70.52 kB / 0.6848 GB, free: 4.031 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.239e-05/0.155, allocations: 28.92 kB / 0.6848 GB, free: 4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.1551, allocations: 4 kB / 0.6848 GB, free: 3.996 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.1551, allocations: 38.56 kB / 0.6848 GB, free: 3.949 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1551, allocations: 0 / 0.6848 GB, free: 3.949 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003201/0.1583, allocations: 0.568 MB / 0.6854 GB, free: 3.328 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.1583, allocations: 55.41 kB / 0.6855 GB, free: 3.262 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.871e-05/0.1584, allocations: 101.8 kB / 0.6856 GB, free: 3.152 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.1584, allocations: 29.7 kB / 0.6856 GB, free: 3.117 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.78e-05/0.1585, allocations: 84.14 kB / 0.6857 GB, free: 3.031 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.1585, allocations: 15.72 kB / 0.6857 GB, free: 3.016 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.1586, allocations: 29.69 kB / 0.6857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.455e-05/0.1586, allocations: 310.8 kB / 0.686 GB, free: 2.668 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.1588, allocations: 40.09 kB / 0.686 GB, free: 2.629 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.1589, allocations: 39.95 kB / 0.6861 GB, free: 2.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.1592, allocations: 84.75 kB / 0.6862 GB, free: 2.504 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1592, allocations: 0 / 0.6862 GB, free: 2.504 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003089/0.1595, allocations: 125.7 kB / 0.6863 GB, free: 2.375 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1595, allocations: 7.938 kB / 0.6863 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1595, allocations: 0 / 0.6863 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.1595, allocations: 4 kB / 0.6863 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.1597, allocations: 23.91 kB / 0.6863 GB, free: 2.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1597, allocations: 4 kB / 0.6863 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.1599, allocations: 7.984 kB / 0.6863 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.1599, allocations: 7.984 kB / 0.6863 GB, free: 2.32 MB / 494.1 MB 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 (7): * Single equations (assignments): 7 * 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.147e-05/0.16, allocations: 109.8 kB / 0.6864 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.16, allocations: 7.938 kB / 0.6864 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.705e-05/0.1601, allocations: 12.3 kB / 0.6865 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1601, allocations: 4 kB / 0.6865 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1601, allocations: 0 / 0.6865 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.1601, allocations: 3.984 kB / 0.6865 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.1603, allocations: 187.7 kB / 0.6866 GB, free: 1.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1603, allocations: 0 / 0.6866 GB, free: 1.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.1605, allocations: 19.97 kB / 0.6867 GB, free: 1.926 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1605, allocations: 3.938 kB / 0.6867 GB, free: 1.922 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.1605, allocations: 15.98 kB / 0.6867 GB, free: 1.906 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1605, allocations: 3.938 kB / 0.6867 GB, free: 1.902 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1605, allocations: 3.938 kB / 0.6867 GB, free: 1.898 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004784/0.161, allocations: 188.9 kB / 0.6869 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.1611, allocations: 89.06 kB / 0.687 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.1611, allocations: 0 / 0.687 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.1613, allocations: 8 kB / 0.687 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.1613, allocations: 3.984 kB / 0.687 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.1613, allocations: 4 kB / 0.687 GB, free: 1.574 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.036e-05/0.1613, allocations: 87.33 kB / 0.6871 GB, free: 1.488 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1614, allocations: 0 / 0.6871 GB, free: 1.488 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002178/0.1616, allocations: 31.94 kB / 0.6871 GB, free: 1.457 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0001714/0.1618, allocations: 127.2 kB / 0.6872 GB, free: 1.324 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002976/0.1621, allocations: 91.95 kB / 0.6873 GB, free: 1.234 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1621, allocations: 0 / 0.6873 GB, free: 1.234 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.1622, allocations: 48.02 kB / 0.6873 GB, free: 1.188 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.1624, allocations: 8.125 kB / 0.6873 GB, free: 1.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005654/0.163, allocations: 178.2 kB / 0.6875 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.1632, allocations: 0.6807 MB / 0.6882 GB, free: 276 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001414/0.1633, allocations: 27.94 kB / 0.6882 GB, free: 248 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.791e-05/0.1634, allocations: 15.42 kB / 0.6882 GB, free: 232 kB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1634, allocations: 0 / 0.6882 GB, free: 232 kB / 494.1 MB Notification: Performance of Templates: time 0.2394/0.4028, allocations: 1.498 MB / 0.6897 GB, free: 17.62 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)