Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.005388/0.005388, allocations: 101.3 kB / 15.73 MB, free: 6.043 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.001252/0.001252, allocations: 194.9 kB / 16.67 MB, free: 5.965 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002056/0.002056, allocations: 297.5 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9358/0.9358, allocations: 169.2 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 99.84 kB / 0.6815 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4361/0.4377, allocations: 86.98 MB / 0.7664 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002044/0.4398, allocations: 1.283 MB / 0.7677 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009449/0.4408, allocations: 0.6452 MB / 0.7683 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.814e-05/0.4408, allocations: 0 / 0.7683 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.4408, allocations: 0 / 0.7683 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.758e-05/0.4409, allocations: 3.938 kB / 0.7683 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.4413, allocations: 115.4 kB / 0.7684 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.794e-05/0.4413, allocations: 23.92 kB / 0.7684 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.4414, allocations: 4 kB / 0.7684 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.124e-05/0.4414, allocations: 11.92 kB / 0.7684 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.842e-05/0.4415, allocations: 15.98 kB / 0.7685 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.4415, allocations: 0 / 0.7685 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002537/0.4418, allocations: 151.7 kB / 0.7686 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.4418, allocations: 3.984 kB / 0.7686 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.4418, allocations: 15.92 kB / 0.7686 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.442, allocations: 91.34 kB / 0.7687 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.442, allocations: 4 kB / 0.7687 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.152e-06/0.442, allocations: 0 / 0.7687 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.442, allocations: 0 / 0.7687 GB, free: 1.535 MB / 0.5294 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.0004163/0.4424, allocations: 358.2 kB / 0.7691 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.4425, allocations: 8.031 kB / 0.7691 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003795/0.4429, allocations: 36.8 kB / 0.7691 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.443, allocations: 164.4 kB / 0.7692 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.443, allocations: 384 / 0.7693 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.443, allocations: 384 / 0.7693 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.4432, allocations: 58.16 kB / 0.7693 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.4432, allocations: 192 / 0.7693 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.4432, allocations: 7.938 kB / 0.7693 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.4432, allocations: 7.984 kB / 0.7693 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.4434, allocations: 31.97 kB / 0.7694 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000165/0.4435, allocations: 161.7 kB / 0.7695 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.4438, allocations: 70.47 kB / 0.7696 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.391e-05/0.4439, allocations: 28.94 kB / 0.7696 GB, free: 480 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.444, allocations: 0 / 0.7696 GB, free: 480 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.444, allocations: 30.56 kB / 0.7696 GB, free: 440 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.444, allocations: 0 / 0.7696 GB, free: 440 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.002994/0.447, allocations: 0.576 MB / 0.7702 GB, free: 15.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.447, allocations: 55.39 kB / 0.7702 GB, free: 15.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.358e-05/0.4471, allocations: 97.8 kB / 0.7703 GB, free: 15.63 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.4471, allocations: 25.7 kB / 0.7704 GB, free: 15.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.912e-05/0.4472, allocations: 84.14 kB / 0.7704 GB, free: 15.51 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.4472, allocations: 19.66 kB / 0.7705 GB, free: 15.49 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.375e-05/0.4473, allocations: 33.75 kB / 0.7705 GB, free: 15.45 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.161e-05/0.4473, allocations: 318.8 kB / 0.7708 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.4475, allocations: 31.97 kB / 0.7708 GB, free: 15.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.4476, allocations: 39.91 kB / 0.7709 GB, free: 15.06 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.4479, allocations: 88.81 kB / 0.771 GB, free: 14.97 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4479, allocations: 0 / 0.771 GB, free: 14.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003311/0.4482, allocations: 117.6 kB / 0.7711 GB, free: 14.85 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.4483, allocations: 11.94 kB / 0.7711 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4483, allocations: 3.984 kB / 0.7711 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.4483, allocations: 0 / 0.7711 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.4485, allocations: 23.97 kB / 0.7711 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.4485, allocations: 0 / 0.7711 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.4486, allocations: 8 kB / 0.7711 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.4487, allocations: 11.92 kB / 0.7711 GB, free: 14.79 MB / 0.545 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 7.746e-05/0.4488, allocations: 108.2 kB / 0.7712 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.4488, allocations: 15.84 kB / 0.7712 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.574e-05/0.4488, allocations: 7.969 kB / 0.7712 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4488, allocations: 0 / 0.7712 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4489, allocations: 0 / 0.7712 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4489, allocations: 0 / 0.7712 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.449, allocations: 195.5 kB / 0.7714 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.449, allocations: 0 / 0.7714 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.4492, allocations: 23.97 kB / 0.7715 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.4493, allocations: 3.938 kB / 0.7715 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.4493, allocations: 3.984 kB / 0.7715 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4493, allocations: 0 / 0.7715 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4493, allocations: 4 kB / 0.7715 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005123/0.4498, allocations: 197 kB / 0.7717 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.4499, allocations: 81.05 kB / 0.7717 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.4499, allocations: 4 kB / 0.7717 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.4501, allocations: 20.02 kB / 0.7718 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.4501, allocations: 4.328 kB / 0.7718 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.4501, allocations: 3.984 kB / 0.7718 GB, free: 14.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.22e-05/0.4501, allocations: 79.28 kB / 0.7718 GB, free: 13.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4501, allocations: 0 / 0.7718 GB, free: 13.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002364/0.4504, allocations: 32 kB / 0.7719 GB, free: 13.93 MB / 0.545 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.0002122/0.4506, allocations: 131.2 kB / 0.772 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003327/0.4509, allocations: 91.86 kB / 0.7721 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.451, allocations: 3.938 kB / 0.7721 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.4511, allocations: 47.95 kB / 0.7721 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.4514, allocations: 8 kB / 0.7721 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006192/0.452, allocations: 154 kB / 0.7723 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.4523, allocations: 0.6807 MB / 0.773 GB, free: 12.76 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000151/0.4524, allocations: 27.98 kB / 0.773 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.573e-05/0.4525, allocations: 19.42 kB / 0.773 GB, free: 12.71 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4525, allocations: 0 / 0.773 GB, free: 12.71 MB / 0.545 GB Notification: Performance of Templates: time 0.003726/0.4562, allocations: 1.533 MB / 0.7745 GB, free: 11.23 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)