Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_10_Buildings.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.001185/0.001185, allocations: 108.1 kB / 16.41 MB, free: 6.5 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.001131/0.001131, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.474/2.474, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.84 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9676/0.969, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002328/0.9714, allocations: 1.266 MB / 1.169 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005248/0.9719, allocations: 237.8 kB / 1.169 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.297e-05/0.9719, allocations: 0 / 1.169 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.669e-05/0.972, allocations: 3.938 kB / 1.169 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.407e-05/0.972, allocations: 4 kB / 1.169 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.9723, allocations: 35.83 kB / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.752e-05/0.9724, allocations: 27.91 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.9724, allocations: 4 kB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.561e-05/0.9725, allocations: 7.938 kB / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.911e-05/0.9726, allocations: 11.98 kB / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.9726, allocations: 0 / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.9727, allocations: 43.95 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.9727, allocations: 0 / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.9727, allocations: 19.92 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.9729, allocations: 35.95 kB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.9729, allocations: 0 / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9729, allocations: 0 / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.9729, allocations: 0 / 1.169 GB, free: 2.18 MB / 0.8887 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.0004268/0.9733, allocations: 341.2 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.9734, allocations: 12.92 kB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.9735, allocations: 8.922 kB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.9736, allocations: 164.4 kB / 1.169 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.9737, allocations: 8.312 kB / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.9737, allocations: 4.375 kB / 1.169 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.9738, allocations: 46.19 kB / 1.17 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.9738, allocations: 192 / 1.17 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.9738, allocations: 3.938 kB / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.9738, allocations: 4 kB / 1.17 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.919e-05/0.9739, allocations: 15.98 kB / 1.17 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.9741, allocations: 161.7 kB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.106e-05/0.9742, allocations: 50.5 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.9742, allocations: 16.98 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.9742, allocations: 0 / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.9743, allocations: 34.56 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.9743, allocations: 0 / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8): time 0.002106/0.9764, allocations: 0.4963 MB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.9764, allocations: 55.41 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.826e-05/0.9765, allocations: 89.86 kB / 1.17 GB, free: 468 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.9765, allocations: 33.7 kB / 1.17 GB, free: 428 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.879e-05/0.9766, allocations: 80.14 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.9766, allocations: 23.7 kB / 1.171 GB, free: 320 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.9767, allocations: 17.72 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.9768, allocations: 314.8 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.485e-05/0.9768, allocations: 19.98 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.175e-05/0.9769, allocations: 35.92 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.977, allocations: 52.92 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.977, allocations: 4 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001489/0.9772, allocations: 101.7 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.9772, allocations: 7.938 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.9772, allocations: 0 / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.9772, allocations: 0 / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.9774, allocations: 19.92 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.9774, allocations: 4 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.072e-05/0.9775, allocations: 4 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.9775, allocations: 0 / 1.171 GB, free: 15.72 MB / 0.9044 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 8.344e-05/0.9776, allocations: 117.8 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.9776, allocations: 7.938 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.02e-05/0.9776, allocations: 11.97 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.9776, allocations: 7.984 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.9777, allocations: 0 / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.9777, allocations: 3.984 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.9778, allocations: 171.5 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.9778, allocations: 0 / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.978, allocations: 15.98 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.978, allocations: 3.938 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.978, allocations: 4 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.978, allocations: 4 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.978, allocations: 0 / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.9783, allocations: 145 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.9783, allocations: 81.05 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.9783, allocations: 8.016 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.9784, allocations: 8 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.9785, allocations: 0 / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.9785, allocations: 8.062 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.876e-05/0.9785, allocations: 75.28 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9785, allocations: 0 / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001884/0.9787, allocations: 12 kB / 1.172 GB, free: 14.95 MB / 0.9044 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.0001427/0.9789, allocations: 107.2 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001602/0.979, allocations: 64.06 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.979, allocations: 0 / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.288e-05/0.9791, allocations: 35.97 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.9793, allocations: 16.66 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005642/0.9799, allocations: 200.4 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.9802, allocations: 0.6884 MB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.007e-05/0.9802, allocations: 19.31 kB / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.9803, allocations: 0 / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of Templates: time 0.002342/0.9826, allocations: 0.8947 MB / 1.174 GB, free: 12.88 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)