Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009032/0.0009078, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008148/0.008148, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.727/1.727, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6731/0.6731, allocations: 95.62 MB / 366.4 MB, free: 10.25 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 16.56 kB / 447.5 MB, free: 8.973 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4295/0.4306, allocations: 70.33 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00138/0.4321, allocations: 1.033 MB / 0.5067 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.4333, allocations: 0.7964 MB / 0.5075 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.675e-05/0.4333, allocations: 4 kB / 0.5075 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.508e-05/0.4333, allocations: 3.984 kB / 0.5075 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.039e-05/0.4334, allocations: 7.938 kB / 0.5075 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.4338, allocations: 115.6 kB / 0.5076 GB, free: 14.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.643e-05/0.4339, allocations: 31.8 kB / 0.5076 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.608e-05/0.4339, allocations: 0 / 0.5076 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.762e-05/0.434, allocations: 8 kB / 0.5076 GB, free: 14.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.774e-05/0.4341, allocations: 15.92 kB / 0.5076 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.4341, allocations: 4 kB / 0.5077 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000335/0.4344, allocations: 223.6 kB / 0.5079 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.639e-06/0.4344, allocations: 0 / 0.5079 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.537e-05/0.4345, allocations: 41.62 kB / 0.5079 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.4347, allocations: 129.7 kB / 0.508 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.4347, allocations: 0 / 0.508 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4347, allocations: 0 / 0.508 GB, free: 13.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.768e-06/0.4347, allocations: 0 / 0.508 GB, free: 13.92 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003806/0.4351, allocations: 355.5 kB / 0.5084 GB, free: 13.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.4352, allocations: 15.98 kB / 0.5084 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.432e-05/0.4352, allocations: 4.938 kB / 0.5084 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.861e-05/0.4353, allocations: 168.3 kB / 0.5085 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.4353, allocations: 384 / 0.5085 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.4354, allocations: 7.938 kB / 0.5086 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.921e-05/0.4355, allocations: 37.69 kB / 0.5086 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.4355, allocations: 0 / 0.5086 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.4355, allocations: 0 / 0.5086 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.4355, allocations: 0 / 0.5086 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.43e-05/0.4356, allocations: 7.938 kB / 0.5086 GB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.4357, allocations: 165.6 kB / 0.5088 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.4359, allocations: 42.48 kB / 0.5088 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.193e-05/0.4359, allocations: 12.86 kB / 0.5088 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.4359, allocations: 0 / 0.5088 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.4359, allocations: 30.56 kB / 0.5088 GB, free: 12.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.4359, allocations: 4 kB / 0.5088 GB, free: 12.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001185/0.4371, allocations: 428.2 kB / 0.5093 GB, free: 12.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.4372, allocations: 55.34 kB / 0.5093 GB, free: 12.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.249e-05/0.4372, allocations: 101.8 kB / 0.5094 GB, free: 12.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.4372, allocations: 25.7 kB / 0.5094 GB, free: 12.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.646e-05/0.4373, allocations: 80.14 kB / 0.5095 GB, free: 12.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.4373, allocations: 23.75 kB / 0.5095 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.941e-05/0.4373, allocations: 9.719 kB / 0.5095 GB, free: 12.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.4374, allocations: 318.8 kB / 0.5098 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/0.4374, allocations: 11.94 kB / 0.5098 GB, free: 11.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.468e-05/0.4374, allocations: 8 kB / 0.5099 GB, free: 11.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.255e-05/0.4375, allocations: 36.97 kB / 0.5099 GB, free: 11.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.4375, allocations: 0 / 0.5099 GB, free: 11.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.354e-05/0.4376, allocations: 61.62 kB / 0.51 GB, free: 11.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.4376, allocations: 4 kB / 0.51 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4376, allocations: 8 kB / 0.51 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.4376, allocations: 0 / 0.51 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.598e-05/0.4377, allocations: 8 kB / 0.51 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.4377, allocations: 0 / 0.51 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.081e-05/0.4377, allocations: 0 / 0.51 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.4377, allocations: 0 / 0.51 GB, free: 11.64 MB / 382.1 MB 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 (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 prepare postOptimizeDAE: time 5.064e-05/0.4378, allocations: 117.8 kB / 0.5101 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.277e-06/0.4378, allocations: 3.906 kB / 0.5101 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.4379, allocations: 81.16 kB / 0.5102 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.4379, allocations: 0 / 0.5102 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.4379, allocations: 0 / 0.5102 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.4379, allocations: 0 / 0.5102 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.4381, allocations: 307.4 kB / 0.5105 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4381, allocations: 0 / 0.5105 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.812e-05/0.4382, allocations: 15.94 kB / 0.5105 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4382, allocations: 0 / 0.5105 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.4382, allocations: 0 / 0.5105 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4382, allocations: 8.016 kB / 0.5105 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.4382, allocations: 4 kB / 0.5105 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.4384, allocations: 176.6 kB / 0.5107 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.4384, allocations: 93.03 kB / 0.5107 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.4385, allocations: 3.938 kB / 0.5107 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.4385, allocations: 0 / 0.5107 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/0.4386, allocations: 11.88 kB / 0.5108 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.4386, allocations: 4.578 kB / 0.5108 GB, free: 10.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.009e-05/0.4386, allocations: 87.27 kB / 0.5108 GB, free: 10.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4386, allocations: 0 / 0.5108 GB, free: 10.63 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.4389, allocations: 55.94 kB / 0.5109 GB, free: 10.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (pSatDer) * 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.0002625/0.4392, allocations: 163.2 kB / 0.5111 GB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.955e-05/0.4393, allocations: 31.98 kB / 0.5111 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.4393, allocations: 4 kB / 0.5111 GB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.194e-05/0.4393, allocations: 11.94 kB / 0.5111 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.4396, allocations: 16.12 kB / 0.5111 GB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003819/0.44, allocations: 227.3 kB / 0.5113 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.4402, allocations: 0.6809 MB / 0.512 GB, free: 9.387 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.929e-05/0.4402, allocations: 3.938 kB / 0.512 GB, free: 9.383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.777e-05/0.4402, allocations: 11.44 kB / 0.512 GB, free: 9.371 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4402, allocations: 0 / 0.512 GB, free: 9.371 MB / 382.1 MB Notification: Performance of Templates: time 0.003837/0.4441, allocations: 1.594 MB / 0.5136 GB, free: 7.828 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: