Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_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_latest_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.0009113/0.0009116, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 183.3 kB / 16.92 MB, free: 6.926 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.382/1.382, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.829/2.829, allocations: 462.7 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003695, allocations: 10.77 kB / 0.9034 GB, free: 36.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.349, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00192/0.351, allocations: 1.021 MB / 1.06 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.3526, allocations: 0.6466 MB / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.056e-05/0.3527, allocations: 0 / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.3527, allocations: 3.984 kB / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.934e-05/0.3528, allocations: 0 / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004937/0.3533, allocations: 95.62 kB / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.389e-05/0.3533, allocations: 27.8 kB / 1.061 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.681e-05/0.3534, allocations: 0 / 1.061 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.13e-05/0.3534, allocations: 12 kB / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.761e-05/0.3535, allocations: 11.92 kB / 1.061 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.3535, allocations: 0 / 1.061 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003106/0.3538, allocations: 147.8 kB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.3539, allocations: 8 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.3539, allocations: 41.61 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.3541, allocations: 72.14 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3541, allocations: 0 / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.444e-06/0.3541, allocations: 3.938 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.3541, allocations: 0 / 1.061 GB, free: 2.895 MB / 0.8106 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.0004909/0.3546, allocations: 351.4 kB / 1.062 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.3547, allocations: 11.97 kB / 1.062 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004544/0.3551, allocations: 32.91 kB / 1.062 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.3553, allocations: 164.4 kB / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3553, allocations: 384 / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.3553, allocations: 4.375 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.3555, allocations: 58.2 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3555, allocations: 4.188 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.3556, allocations: 3.938 kB / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3556, allocations: 4 kB / 1.062 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.3557, allocations: 31.95 kB / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.3559, allocations: 165.4 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.3563, allocations: 70.58 kB / 1.062 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.699e-05/0.3564, allocations: 28.88 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.3564, allocations: 0 / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.3564, allocations: 38.56 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3564, allocations: 0 / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.003457/0.3599, allocations: 0.5758 MB / 1.063 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.36, allocations: 59.34 kB / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.611e-05/0.36, allocations: 89.86 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.3601, allocations: 29.7 kB / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.3601, allocations: 92.25 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.3602, allocations: 11.8 kB / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.3602, allocations: 17.72 kB / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.3603, allocations: 310.8 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.3605, allocations: 43.95 kB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.3606, allocations: 31.97 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.3609, allocations: 80.83 kB / 1.064 GB, free: 360 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3609, allocations: 3.984 kB / 1.064 GB, free: 356 kB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003573/0.3613, allocations: 129.5 kB / 1.064 GB, free: 220 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.3613, allocations: 7.938 kB / 1.064 GB, free: 212 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3613, allocations: 240 / 1.064 GB, free: 212 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3613, allocations: 0 / 1.064 GB, free: 212 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.3616, allocations: 23.97 kB / 1.064 GB, free: 188 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.3616, allocations: 3.984 kB / 1.064 GB, free: 184 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.3617, allocations: 4 kB / 1.064 GB, free: 180 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.3618, allocations: 7.984 kB / 1.064 GB, free: 172 kB / 0.8106 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 0.0001/0.3619, allocations: 113.8 kB / 1.064 GB, free: 48 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.3619, allocations: 7.938 kB / 1.064 GB, free: 40 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.88e-05/0.362, allocations: 11.91 kB / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.362, allocations: 0 / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.362, allocations: 8 kB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.362, allocations: 3.984 kB / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.3622, allocations: 179.7 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3622, allocations: 0 / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.3624, allocations: 27.91 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.3624, allocations: 7.922 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.3625, allocations: 4 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3625, allocations: 0 / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3625, allocations: 0 / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005589/0.363, allocations: 197 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.748e-05/0.3631, allocations: 81.05 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.3632, allocations: 7.969 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.3633, allocations: 12.05 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.3634, allocations: 8 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.3634, allocations: 7.984 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.801e-05/0.3634, allocations: 75.28 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3634, allocations: 0 / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002604/0.3637, allocations: 31.94 kB / 1.064 GB, free: 15.3 MB / 0.8262 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.0002536/0.364, allocations: 135.6 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003374/0.3643, allocations: 87.92 kB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3643, allocations: 0 / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.3645, allocations: 47.95 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.3647, allocations: 11.94 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006838/0.3654, allocations: 196.5 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.3657, allocations: 0.6848 MB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.929e-05/0.3658, allocations: 19.41 kB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3658, allocations: 0 / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of Templates: time 0.003786/0.3696, allocations: 1.562 MB / 1.067 GB, free: 12.5 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)