Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/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.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_Buildings.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.001543/0.001543, allocations: 107.6 kB / 16.41 MB, free: 6.508 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.001629/0.001629, allocations: 187 kB / 17.34 MB, free: 5.742 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.505/1.505, allocations: 222.9 MB / 241 MB, free: 15.14 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.409/2.409, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 67.89 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075/1.077, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002678/1.079, allocations: 1.284 MB / 1.09 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001173/1.081, allocations: 0.6357 MB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.184e-05/1.081, allocations: 0 / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.41e-05/1.081, allocations: 0.7031 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.89e-05/1.081, allocations: 5.859 kB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/1.081, allocations: 108.4 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.156e-05/1.081, allocations: 26.98 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.28e-05/1.081, allocations: 5.906 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.301e-05/1.082, allocations: 11.84 kB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.156e-05/1.082, allocations: 11.39 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/1.082, allocations: 1.781 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003499/1.082, allocations: 142.9 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/1.082, allocations: 2.656 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/1.082, allocations: 17.66 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002529/1.082, allocations: 101.9 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.082, allocations: 1.656 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.024e-06/1.082, allocations: 0 / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.462e-06/1.082, allocations: 0 / 1.091 GB, free: 4.016 MB / 0.8575 GB 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.0005062/1.083, allocations: 351.9 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/1.083, allocations: 10.48 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004679/1.083, allocations: 30.14 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.467e-05/1.083, allocations: 167 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/1.083, allocations: 1.062 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/1.084, allocations: 14.75 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/1.084, allocations: 55.16 kB / 1.092 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/1.084, allocations: 192 / 1.092 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/1.084, allocations: 4.719 kB / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/1.084, allocations: 1.094 kB / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/1.084, allocations: 29.91 kB / 1.092 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/1.084, allocations: 169.6 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/1.084, allocations: 67.06 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.545e-05/1.085, allocations: 28.94 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/1.085, allocations: 1.375 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/1.085, allocations: 40.44 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/1.085, allocations: 0 / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.003403/1.088, allocations: 0.5722 MB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/1.088, allocations: 56.31 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.239e-05/1.088, allocations: 97.66 kB / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/1.088, allocations: 26.52 kB / 1.093 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.411e-05/1.088, allocations: 81.72 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/1.088, allocations: 27.39 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/1.088, allocations: 26.39 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.272e-05/1.088, allocations: 313.2 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/1.089, allocations: 39.05 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/1.089, allocations: 38.55 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/1.089, allocations: 82.7 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.089, allocations: 0.5625 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003808/1.089, allocations: 125.7 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/1.089, allocations: 10.92 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/1.089, allocations: 240 / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/1.089, allocations: 5 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/1.09, allocations: 26.36 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/1.09, allocations: 5.016 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/1.09, allocations: 5.5 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/1.09, allocations: 5.281 kB / 1.093 GB, free: 1.977 MB / 0.8575 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 (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 8.158e-05/1.09, allocations: 112.5 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/1.09, allocations: 5.719 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.02e-05/1.09, allocations: 18.67 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/1.09, allocations: 1.031 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.09, allocations: 0 / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/1.09, allocations: 1.859 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/1.09, allocations: 189.7 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.09, allocations: 0 / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/1.091, allocations: 26.28 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/1.091, allocations: 4.875 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/1.091, allocations: 4.812 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.091, allocations: 0 / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.091, allocations: 1.688 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005743/1.091, allocations: 192.1 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/1.091, allocations: 83 kB / 1.094 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/1.091, allocations: 4 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/1.091, allocations: 10.14 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/1.091, allocations: 3.703 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/1.091, allocations: 9.484 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.075e-05/1.091, allocations: 88.94 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/1.091, allocations: 0.6562 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002856/1.092, allocations: 28.2 kB / 1.094 GB, free: 1.309 MB / 0.8575 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 (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.0002567/1.092, allocations: 134.7 kB / 1.094 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003858/1.092, allocations: 88.36 kB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.092, allocations: 0.7188 kB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/1.093, allocations: 46.75 kB / 1.094 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/1.093, allocations: 10.12 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006702/1.094, allocations: 190.8 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/1.094, allocations: 0.678 MB / 1.095 GB, free: 320 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.157e-05/1.094, allocations: 21.23 kB / 1.095 GB, free: 316 kB / 0.8575 GB Notification: Performance of SimCode: time 6.81e-07/1.094, allocations: 0 / 1.095 GB, free: 316 kB / 0.8575 GB Notification: Performance of Templates: time 0.004725/1.099, allocations: 1.577 MB / 1.097 GB, free: 200 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)