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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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="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-09,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.001086/0.001086, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001182/0.001182, allocations: 193.1 kB / 16.13 MB, free: 6.703 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.402/1.402, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.869/2.869, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 66.31 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4233, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.003169/0.4265, allocations: 1.343 MB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.4279, allocations: 0.6505 MB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.756e-05/0.4279, allocations: 3.938 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.149e-05/0.4279, allocations: 3.984 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.866e-05/0.428, allocations: 7.922 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004042/0.4284, allocations: 95.58 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.696e-05/0.4285, allocations: 27.91 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.4285, allocations: 0 / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.352e-05/0.4286, allocations: 8 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.076e-05/0.4286, allocations: 15.92 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.4287, allocations: 0 / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002891/0.4289, allocations: 155.7 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.429, allocations: 0 / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.429, allocations: 11.92 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.4292, allocations: 104 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4292, allocations: 0 / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4292, allocations: 4 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.4292, allocations: 0 / 1.07 GB, free: 8.461 MB / 0.8262 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.0004832/0.4297, allocations: 359.5 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.4298, allocations: 8.031 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004578/0.4302, allocations: 36.81 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.4304, allocations: 164.4 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.4304, allocations: 384 / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.4305, allocations: 4.375 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.4307, allocations: 54.2 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4307, allocations: 4.188 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.4308, allocations: 7.938 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.4308, allocations: 0 / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.4309, allocations: 35.91 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001824/0.4311, allocations: 157.5 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/0.4315, allocations: 70.58 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.673e-05/0.4316, allocations: 28.92 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.4316, allocations: 0 / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.4316, allocations: 34.56 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.4316, allocations: 0 / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.003938/0.4356, allocations: 0.5836 MB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.4356, allocations: 51.41 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.712e-05/0.4357, allocations: 97.84 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.4357, allocations: 25.7 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.657e-05/0.4358, allocations: 84.14 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.4358, allocations: 19.84 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.395e-05/0.4359, allocations: 29.69 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.436, allocations: 314.8 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.4361, allocations: 35.97 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.4363, allocations: 31.97 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.4366, allocations: 84.81 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4366, allocations: 0 / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003759/0.437, allocations: 129.6 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.437, allocations: 7.938 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.437, allocations: 3.938 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.437, allocations: 0 / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.4373, allocations: 23.97 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.4373, allocations: 0 / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.4375, allocations: 11.98 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.4375, allocations: 7.984 kB / 1.072 GB, free: 5.719 MB / 0.8262 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 9.143e-05/0.4376, allocations: 109.8 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.4376, allocations: 11.84 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.749e-05/0.4377, allocations: 7.969 kB / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4377, allocations: 0 / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.4377, allocations: 4 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4377, allocations: 4 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.4379, allocations: 187.5 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.4379, allocations: 0 / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.4382, allocations: 27.91 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.4382, allocations: 3.938 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.4382, allocations: 7.984 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4382, allocations: 0 / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/0.4382, allocations: 0 / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005767/0.4388, allocations: 185.4 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/0.4389, allocations: 85.03 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.4389, allocations: 8.031 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.4391, allocations: 12.05 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/0.4392, allocations: 7.984 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.4392, allocations: 7.938 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.232e-05/0.4392, allocations: 79.27 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.41e-07/0.4392, allocations: 0 / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002645/0.4395, allocations: 35.94 kB / 1.073 GB, free: 4.848 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.0002267/0.4397, allocations: 127.3 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003578/0.4401, allocations: 87.92 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4401, allocations: 0 / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.4403, allocations: 55.95 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.4406, allocations: 14.72 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00072/0.4413, allocations: 176 kB / 1.073 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.4416, allocations: 0.677 MB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002312/0.4418, allocations: 27.98 kB / 1.074 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.241e-05/0.4419, allocations: 19.42 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of SimCode: time 3.6e-07/0.4419, allocations: 7.938 kB / 1.074 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of Templates: time 0.004133/0.446, allocations: 1.452 MB / 1.076 GB, free: 2.203 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (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)