Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001505/0.001505, allocations: 104.5 kB / 16.27 MB, free: 6.414 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.001546/0.001546, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.462/1.462, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.44/2.44, allocations: 390.3 MB / 0.6653 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 65.45 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3451, allocations: 140.4 MB / 0.9503 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.003396/0.3486, allocations: 1.241 MB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006232/0.3492, allocations: 245.3 kB / 0.9517 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.498e-05/0.3493, allocations: 0 / 0.9517 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.096e-05/0.3494, allocations: 0 / 0.9517 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.342e-05/0.3494, allocations: 3.938 kB / 0.9517 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003975/0.3498, allocations: 39.83 kB / 0.9518 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.829e-05/0.3499, allocations: 15.98 kB / 0.9518 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.201e-05/0.35, allocations: 4 kB / 0.9518 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.728e-05/0.35, allocations: 11.94 kB / 0.9518 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.627e-05/0.3501, allocations: 15.97 kB / 0.9518 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.3501, allocations: 0 / 0.9518 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.3503, allocations: 43.95 kB / 0.9519 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.3503, allocations: 4 kB / 0.9519 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.3503, allocations: 7.938 kB / 0.9519 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.3505, allocations: 43.89 kB / 0.9519 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/0.3505, allocations: 7.922 kB / 0.9519 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3505, allocations: 0 / 0.9519 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.3505, allocations: 0 / 0.9519 GB, free: 7.203 MB / 0.7325 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.0004766/0.351, allocations: 339.7 kB / 0.9522 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3511, allocations: 12.03 kB / 0.9523 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.3513, allocations: 12.92 kB / 0.9523 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.3514, allocations: 164.3 kB / 0.9524 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.3514, allocations: 8.375 kB / 0.9524 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.3515, allocations: 384 / 0.9524 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.3516, allocations: 42.25 kB / 0.9525 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3516, allocations: 192 / 0.9525 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.3517, allocations: 7.938 kB / 0.9525 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3517, allocations: 4 kB / 0.9525 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.419e-05/0.3517, allocations: 19.92 kB / 0.9525 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.3519, allocations: 157.7 kB / 0.9527 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.3521, allocations: 38.64 kB / 0.9527 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.889e-05/0.3521, allocations: 20.97 kB / 0.9527 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.3522, allocations: 0 / 0.9527 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.3522, allocations: 46.55 kB / 0.9528 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.3522, allocations: 0 / 0.9528 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.002155/0.3544, allocations: 0.4902 MB / 0.9532 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.3544, allocations: 63.34 kB / 0.9533 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.076e-05/0.3545, allocations: 89.86 kB / 0.9534 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.3545, allocations: 25.7 kB / 0.9534 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.234e-05/0.3546, allocations: 80.14 kB / 0.9535 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.601e-05/0.3546, allocations: 31.55 kB / 0.9535 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/0.3547, allocations: 17.72 kB / 0.9535 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3548, allocations: 322.8 kB / 0.9538 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.888e-05/0.3549, allocations: 19.98 kB / 0.9539 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.269e-05/0.3549, allocations: 23.98 kB / 0.9539 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.355, allocations: 60.98 kB / 0.9539 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.355, allocations: 0 / 0.9539 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001552/0.3552, allocations: 93.62 kB / 0.954 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3552, allocations: 9.5 kB / 0.954 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3552, allocations: 0 / 0.954 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3553, allocations: 0 / 0.954 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.3554, allocations: 19.92 kB / 0.9541 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3554, allocations: 4 kB / 0.9541 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.368e-05/0.3555, allocations: 4 kB / 0.9541 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.3555, allocations: 0 / 0.9541 GB, free: 4.738 MB / 0.7325 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 0.0001147/0.3556, allocations: 113.8 kB / 0.9542 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.3557, allocations: 11.78 kB / 0.9542 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.901e-05/0.3557, allocations: 11.97 kB / 0.9542 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3557, allocations: 4 kB / 0.9542 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.3558, allocations: 448 / 0.9542 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.3558, allocations: 0 / 0.9542 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.3559, allocations: 187.3 kB / 0.9544 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.356, allocations: 4 kB / 0.9544 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.3561, allocations: 15.98 kB / 0.9544 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.3561, allocations: 3.938 kB / 0.9544 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.3561, allocations: 4 kB / 0.9544 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.3561, allocations: 0 / 0.9544 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3562, allocations: 0 / 0.9544 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.3564, allocations: 149.1 kB / 0.9545 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/0.3565, allocations: 85.05 kB / 0.9546 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.3565, allocations: 8.094 kB / 0.9546 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.3566, allocations: 7.984 kB / 0.9546 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.523e-05/0.3567, allocations: 0 / 0.9546 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.3567, allocations: 4 kB / 0.9546 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.778e-05/0.3567, allocations: 75.28 kB / 0.9547 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3567, allocations: 0 / 0.9547 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002238/0.357, allocations: 12 kB / 0.9547 GB, free: 3.957 MB / 0.7325 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.0001613/0.3571, allocations: 107.3 kB / 0.9548 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001722/0.3573, allocations: 67.84 kB / 0.9549 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3573, allocations: 0 / 0.9549 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.049e-05/0.3574, allocations: 39.92 kB / 0.9549 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.3576, allocations: 4 kB / 0.9549 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006186/0.3583, allocations: 200.4 kB / 0.9551 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.3586, allocations: 0.6807 MB / 0.9558 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.359e-05/0.3587, allocations: 11.44 kB / 0.9558 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of SimCode: time 7.02e-07/0.3587, allocations: 4 kB / 0.9558 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of Templates: time 0.002534/0.3612, allocations: 0.8841 MB / 0.9567 GB, free: 1.906 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)