Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 108.6 kB / 16.37 MB, free: 6.465 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.0009571/0.0009571, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.245/1.245, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002/0.002, allocations: 274.7 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9065/0.9065, allocations: 169.3 MB / 0.4989 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 90.39 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1546, allocations: 86.98 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002386/0.157, allocations: 1.258 MB / 0.6828 GB, free: 6.184 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004605/0.1575, allocations: 231.3 kB / 0.6831 GB, free: 5.957 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.783e-05/0.1575, allocations: 0 / 0.6831 GB, free: 5.957 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.846e-05/0.1576, allocations: 0 / 0.6831 GB, free: 5.957 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.767e-05/0.1576, allocations: 7.875 kB / 0.6831 GB, free: 5.949 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.1579, allocations: 47.81 kB / 0.6831 GB, free: 5.902 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.837e-05/0.158, allocations: 19.92 kB / 0.6831 GB, free: 5.883 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.904e-05/0.158, allocations: 4 kB / 0.6831 GB, free: 5.879 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.223e-05/0.1581, allocations: 11.98 kB / 0.6832 GB, free: 5.867 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.9e-05/0.1581, allocations: 7.984 kB / 0.6832 GB, free: 5.859 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.1581, allocations: 3.938 kB / 0.6832 GB, free: 5.855 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.1583, allocations: 39.97 kB / 0.6832 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.1583, allocations: 11.98 kB / 0.6832 GB, free: 5.805 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.1583, allocations: 4 kB / 0.6832 GB, free: 5.801 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.1584, allocations: 47.83 kB / 0.6833 GB, free: 5.754 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1585, allocations: 0 / 0.6833 GB, free: 5.754 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1585, allocations: 0 / 0.6833 GB, free: 5.754 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.076e-06/0.1585, allocations: 0 / 0.6833 GB, free: 5.754 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003478/0.1588, allocations: 335.6 kB / 0.6836 GB, free: 5.375 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.1589, allocations: 12.03 kB / 0.6836 GB, free: 5.363 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.159, allocations: 4.938 kB / 0.6836 GB, free: 5.359 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.789e-05/0.1591, allocations: 168.4 kB / 0.6838 GB, free: 5.156 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.1591, allocations: 4.375 kB / 0.6838 GB, free: 5.152 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.1592, allocations: 384 / 0.6838 GB, free: 5.152 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.1593, allocations: 42.25 kB / 0.6838 GB, free: 5.105 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.1593, allocations: 4.125 kB / 0.6838 GB, free: 5.102 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.1593, allocations: 15.88 kB / 0.6838 GB, free: 5.086 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1593, allocations: 0 / 0.6838 GB, free: 5.086 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.316e-05/0.1594, allocations: 15.98 kB / 0.6838 GB, free: 5.07 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.1595, allocations: 157.7 kB / 0.684 GB, free: 4.867 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.937e-05/0.1596, allocations: 42.64 kB / 0.684 GB, free: 4.816 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.744e-05/0.1597, allocations: 24.97 kB / 0.6841 GB, free: 4.789 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.1597, allocations: 0 / 0.6841 GB, free: 4.789 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.1597, allocations: 34.56 kB / 0.6841 GB, free: 4.746 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 2.134e-06/0.1597, allocations: 0 / 0.6841 GB, free: 4.746 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.002033/0.1618, allocations: 0.498 MB / 0.6846 GB, free: 4.195 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.1618, allocations: 55.41 kB / 0.6846 GB, free: 4.129 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.879e-05/0.1619, allocations: 93.8 kB / 0.6847 GB, free: 4.027 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.1619, allocations: 25.7 kB / 0.6847 GB, free: 3.996 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/0.162, allocations: 88.05 kB / 0.6848 GB, free: 3.906 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.162, allocations: 23.66 kB / 0.6849 GB, free: 3.883 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.1621, allocations: 21.7 kB / 0.6849 GB, free: 3.855 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1622, allocations: 318.8 kB / 0.6852 GB, free: 3.535 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.915e-05/0.1622, allocations: 23.98 kB / 0.6852 GB, free: 3.512 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.77e-05/0.1623, allocations: 20 kB / 0.6852 GB, free: 3.492 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.1624, allocations: 60.78 kB / 0.6853 GB, free: 3.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1624, allocations: 0 / 0.6853 GB, free: 3.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00016/0.1626, allocations: 101.7 kB / 0.6854 GB, free: 3.324 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.1626, allocations: 8.031 kB / 0.6854 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1626, allocations: 3.938 kB / 0.6854 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.1626, allocations: 0 / 0.6854 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.1628, allocations: 12 kB / 0.6854 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.1628, allocations: 4 kB / 0.6854 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.715e-05/0.1629, allocations: 3.984 kB / 0.6854 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.1629, allocations: 0 / 0.6854 GB, free: 3.293 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 (9): * Single equations (assignments): 9 * 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 0.0001023/0.163, allocations: 113.8 kB / 0.6855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.163, allocations: 7.938 kB / 0.6855 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.618e-05/0.1631, allocations: 15.97 kB / 0.6855 GB, free: 3.145 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.1631, allocations: 7.984 kB / 0.6855 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.1631, allocations: 0 / 0.6855 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1631, allocations: 0 / 0.6855 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.1633, allocations: 171.5 kB / 0.6857 GB, free: 2.922 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1633, allocations: 0 / 0.6857 GB, free: 2.922 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.1634, allocations: 15.94 kB / 0.6857 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.1634, allocations: 7.922 kB / 0.6857 GB, free: 2.898 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.1635, allocations: 8 kB / 0.6857 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1635, allocations: 448 / 0.6857 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1635, allocations: 4 kB / 0.6857 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.1637, allocations: 137.1 kB / 0.6859 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.1638, allocations: 84.98 kB / 0.686 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.1638, allocations: 8 kB / 0.686 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.1639, allocations: 7.938 kB / 0.686 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.1639, allocations: 3.984 kB / 0.686 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.164, allocations: 8 kB / 0.686 GB, free: 2.605 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.768e-05/0.164, allocations: 79.34 kB / 0.6861 GB, free: 2.527 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.665e-06/0.164, allocations: 0 / 0.6861 GB, free: 2.527 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00019/0.1642, allocations: 11.94 kB / 0.6861 GB, free: 2.516 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 (8): * Single equations (assignments): 8 * 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.0001323/0.1643, allocations: 107.2 kB / 0.6862 GB, free: 2.402 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.1645, allocations: 55.97 kB / 0.6862 GB, free: 2.348 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1645, allocations: 0 / 0.6862 GB, free: 2.348 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.194e-05/0.1646, allocations: 36.09 kB / 0.6863 GB, free: 2.312 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.1648, allocations: 12.14 kB / 0.6863 GB, free: 2.301 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005346/0.1653, allocations: 178.6 kB / 0.6864 GB, free: 2.102 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.1656, allocations: 0.6807 MB / 0.6871 GB, free: 1.395 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.699e-05/0.1657, allocations: 12.12 kB / 0.6871 GB, free: 1.383 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.1657, allocations: 7.438 kB / 0.6871 GB, free: 1.375 MB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1657, allocations: 7.938 kB / 0.6871 GB, free: 1.367 MB / 494.1 MB Notification: Performance of Templates: time 0.002931/0.1687, allocations: 0.6855 MB / 0.6878 GB, free: 0.7266 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)