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.005446/0.005446, allocations: 108.3 kB / 15.74 MB, free: 6.055 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.00136/0.00136, allocations: 198.1 kB / 16.68 MB, free: 5.965 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.331/1.331, allocations: 222.9 MB / 240.3 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.002058/0.002058, allocations: 301.7 kB / 290.8 MB, free: 14.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.948/0.948, allocations: 169.3 MB / 0.4983 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 99.86 kB / 0.6815 GB, free: 6.895 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4623/0.4641, allocations: 86.98 MB / 0.7664 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002162/0.4663, allocations: 1.245 MB / 0.7676 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004827/0.4668, allocations: 243.2 kB / 0.7679 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.883e-05/0.4668, allocations: 0 / 0.7679 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.117e-05/0.4669, allocations: 0 / 0.7679 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.499e-05/0.4669, allocations: 3.938 kB / 0.7679 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.4672, allocations: 43.83 kB / 0.7679 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.542e-05/0.4673, allocations: 15.92 kB / 0.7679 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.43e-05/0.4673, allocations: 8 kB / 0.7679 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.658e-05/0.4674, allocations: 15.97 kB / 0.7679 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.434e-05/0.4675, allocations: 7.938 kB / 0.7679 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.4675, allocations: 0 / 0.7679 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.4676, allocations: 43.95 kB / 0.768 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.4676, allocations: 4 kB / 0.768 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.717e-05/0.4676, allocations: 11.92 kB / 0.768 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.4678, allocations: 39.47 kB / 0.768 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4678, allocations: 0 / 0.768 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4678, allocations: 0 / 0.768 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.4678, allocations: 0 / 0.768 GB, free: 2.168 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004084/0.4682, allocations: 339.6 kB / 0.7684 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.4682, allocations: 15.97 kB / 0.7684 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.4684, allocations: 8.922 kB / 0.7684 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.784e-05/0.4685, allocations: 160.4 kB / 0.7685 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.4685, allocations: 8.375 kB / 0.7685 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.4685, allocations: 384 / 0.7685 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.4687, allocations: 54.17 kB / 0.7686 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.4687, allocations: 4.188 kB / 0.7686 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.4687, allocations: 3.938 kB / 0.7686 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.4687, allocations: 4 kB / 0.7686 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.502e-05/0.4687, allocations: 12 kB / 0.7686 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.4689, allocations: 164.2 kB / 0.7688 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.327e-05/0.469, allocations: 42.62 kB / 0.7688 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.633e-05/0.469, allocations: 20.98 kB / 0.7688 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.126e-06/0.4691, allocations: 4 kB / 0.7688 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.4691, allocations: 42.48 kB / 0.7689 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.4691, allocations: 0 / 0.7689 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.002011/0.4711, allocations: 0.4941 MB / 0.7694 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.4712, allocations: 55.41 kB / 0.7694 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.044e-05/0.4712, allocations: 89.86 kB / 0.7695 GB, free: 440 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.4712, allocations: 25.7 kB / 0.7695 GB, free: 408 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.777e-05/0.4713, allocations: 80.14 kB / 0.7696 GB, free: 324 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.4713, allocations: 31.55 kB / 0.7696 GB, free: 292 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.4714, allocations: 17.72 kB / 0.7697 GB, free: 268 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4715, allocations: 326.8 kB / 0.77 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.237e-05/0.4715, allocations: 16 kB / 0.77 GB, free: 15.92 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.119e-05/0.4716, allocations: 27.98 kB / 0.77 GB, free: 15.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.631e-05/0.4717, allocations: 56.98 kB / 0.7701 GB, free: 15.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.4717, allocations: 0 / 0.7701 GB, free: 15.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001457/0.4718, allocations: 97.56 kB / 0.7702 GB, free: 15.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4719, allocations: 7.938 kB / 0.7702 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4719, allocations: 0 / 0.7702 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.4719, allocations: 3.984 kB / 0.7702 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.472, allocations: 16 kB / 0.7702 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.4721, allocations: 4 kB / 0.7702 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.516e-05/0.4721, allocations: 0 / 0.7702 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.4721, allocations: 0 / 0.7702 GB, free: 15.7 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 (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 7.505e-05/0.4722, allocations: 113.8 kB / 0.7703 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.4722, allocations: 3.938 kB / 0.7703 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.255e-05/0.4723, allocations: 19.95 kB / 0.7703 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4723, allocations: 4 kB / 0.7703 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.4723, allocations: 448 / 0.7703 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4723, allocations: 4 kB / 0.7703 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.4725, allocations: 175.3 kB / 0.7705 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.4725, allocations: 4 kB / 0.7705 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.4726, allocations: 19.88 kB / 0.7705 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4726, allocations: 3.938 kB / 0.7705 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.4726, allocations: 8 kB / 0.7705 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4726, allocations: 0 / 0.7705 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4727, allocations: 0 / 0.7705 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.4729, allocations: 149 kB / 0.7707 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.473, allocations: 85.03 kB / 0.7707 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.473, allocations: 4.031 kB / 0.7708 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.4731, allocations: 4 kB / 0.7708 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.388e-05/0.4731, allocations: 0 / 0.7708 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.4731, allocations: 11.98 kB / 0.7708 GB, free: 15 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.646e-05/0.4732, allocations: 79.22 kB / 0.7708 GB, free: 14.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4732, allocations: 0 / 0.7708 GB, free: 14.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002157/0.4734, allocations: 8 kB / 0.7709 GB, free: 14.92 MB / 0.545 GB 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.0001144/0.4735, allocations: 111.3 kB / 0.771 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001508/0.4737, allocations: 52.08 kB / 0.771 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4737, allocations: 192 / 0.771 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.311e-05/0.4737, allocations: 39.92 kB / 0.771 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.474, allocations: 14.19 kB / 0.7711 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005194/0.4745, allocations: 173.3 kB / 0.7712 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.4747, allocations: 0.6807 MB / 0.7719 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.282e-05/0.4748, allocations: 19.92 kB / 0.7719 GB, free: 13.78 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.4749, allocations: 11.44 kB / 0.7719 GB, free: 13.77 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.4749, allocations: 0 / 0.7719 GB, free: 13.77 MB / 0.545 GB Notification: Performance of Templates: time 0.002744/0.4776, allocations: 0.6941 MB / 0.7726 GB, free: 13.12 MB / 0.545 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)