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.001343/0.001343, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001381/0.001381, allocations: 187 kB / 17.34 MB, free: 5.762 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.265/1.265, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002067/0.002067, allocations: 292 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8933/0.8933, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 95.84 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4241, allocations: 86.97 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002191/0.4263, allocations: 1.276 MB / 0.7683 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000978/0.4273, allocations: 0.6413 MB / 0.7689 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.695e-05/0.4274, allocations: 0 / 0.7689 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.006e-05/0.4274, allocations: 3.984 kB / 0.7689 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.737e-05/0.4274, allocations: 7.938 kB / 0.769 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.4279, allocations: 107.5 kB / 0.7691 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.025e-05/0.4279, allocations: 23.92 kB / 0.7691 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.428, allocations: 4 kB / 0.7691 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.166e-05/0.428, allocations: 7.938 kB / 0.7691 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.4281, allocations: 15.97 kB / 0.7691 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.4281, allocations: 4 kB / 0.7691 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002471/0.4283, allocations: 147.7 kB / 0.7693 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.4284, allocations: 11.92 kB / 0.7693 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.4284, allocations: 15.92 kB / 0.7693 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.4286, allocations: 95.34 kB / 0.7694 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4286, allocations: 0 / 0.7694 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4286, allocations: 0 / 0.7694 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.4286, allocations: 0 / 0.7694 GB, free: 1.551 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.0004433/0.4291, allocations: 354.2 kB / 0.7697 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.4291, allocations: 8.031 kB / 0.7697 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004008/0.4295, allocations: 32.81 kB / 0.7697 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.4296, allocations: 160.4 kB / 0.7699 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.4296, allocations: 4.375 kB / 0.7699 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.4297, allocations: 4.359 kB / 0.7699 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.4298, allocations: 62.16 kB / 0.77 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.4299, allocations: 192 / 0.77 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.4299, allocations: 7.938 kB / 0.77 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.4299, allocations: 0 / 0.77 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.43, allocations: 27.97 kB / 0.77 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/0.4302, allocations: 161.7 kB / 0.7702 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.4305, allocations: 66.58 kB / 0.7702 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.147e-05/0.4306, allocations: 32.86 kB / 0.7702 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.4306, allocations: 3.984 kB / 0.7703 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.4306, allocations: 38.55 kB / 0.7703 GB, free: 456 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4306, allocations: 0 / 0.7703 GB, free: 456 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.003167/0.4338, allocations: 0.5682 MB / 0.7708 GB, free: 15.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.4339, allocations: 55.34 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.503e-05/0.4339, allocations: 93.86 kB / 0.771 GB, free: 15.65 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.434, allocations: 29.7 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.94e-05/0.434, allocations: 84.27 kB / 0.7711 GB, free: 15.53 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.434, allocations: 23.64 kB / 0.7711 GB, free: 15.51 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.556e-05/0.4341, allocations: 21.7 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.4342, allocations: 326.8 kB / 0.7715 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.4344, allocations: 31.97 kB / 0.7715 GB, free: 15.12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.4345, allocations: 43.97 kB / 0.7715 GB, free: 15.08 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.4348, allocations: 84.66 kB / 0.7716 GB, free: 15 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4348, allocations: 4.062 kB / 0.7716 GB, free: 14.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000339/0.4351, allocations: 125.6 kB / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.4352, allocations: 7.938 kB / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.4352, allocations: 0 / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.4352, allocations: 0 / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.4354, allocations: 23.97 kB / 0.7718 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.4354, allocations: 240 / 0.7718 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.4356, allocations: 7.984 kB / 0.7718 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.4356, allocations: 4 kB / 0.7718 GB, free: 14.82 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 8.628e-05/0.4357, allocations: 120.2 kB / 0.7719 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.4357, allocations: 15.83 kB / 0.7719 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.812e-05/0.4358, allocations: 7.969 kB / 0.7719 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4358, allocations: 4 kB / 0.7719 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4358, allocations: 0 / 0.7719 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4358, allocations: 0 / 0.7719 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.4359, allocations: 187.5 kB / 0.7721 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.436, allocations: 0 / 0.7721 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.4362, allocations: 23.97 kB / 0.7721 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.4362, allocations: 3.938 kB / 0.7721 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.4362, allocations: 7.984 kB / 0.7721 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.4362, allocations: 3.984 kB / 0.7721 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4362, allocations: 4 kB / 0.7721 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000522/0.4367, allocations: 189 kB / 0.7723 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/0.4368, allocations: 81.05 kB / 0.7724 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.4368, allocations: 8 kB / 0.7724 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.437, allocations: 12.02 kB / 0.7724 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.437, allocations: 4 kB / 0.7724 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.4371, allocations: 3.984 kB / 0.7724 GB, free: 14.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.382e-05/0.4371, allocations: 83.28 kB / 0.7725 GB, free: 13.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4371, allocations: 0 / 0.7725 GB, free: 13.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000237/0.4373, allocations: 31.98 kB / 0.7725 GB, free: 13.95 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.000215/0.4376, allocations: 131.2 kB / 0.7727 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000326/0.4379, allocations: 87.86 kB / 0.7727 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4379, allocations: 4 kB / 0.7727 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.4381, allocations: 55.97 kB / 0.7728 GB, free: 13.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.4383, allocations: 10.83 kB / 0.7728 GB, free: 13.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006374/0.439, allocations: 179.7 kB / 0.773 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.4392, allocations: 0.6846 MB / 0.7736 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.69e-05/0.4393, allocations: 23.41 kB / 0.7737 GB, free: 12.71 MB / 0.545 GB Notification: Performance of SimCode: time 3.7e-07/0.4393, allocations: 0 / 0.7737 GB, free: 12.71 MB / 0.545 GB Notification: Performance of Templates: time 0.003258/0.4425, allocations: 1.573 MB / 0.7752 GB, free: 11.16 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)