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.001263/0.001263, allocations: 107.5 kB / 16.41 MB, free: 6.508 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.001255/0.001255, allocations: 187 kB / 17.34 MB, free: 5.742 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.292/1.292, allocations: 222.9 MB / 241 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.002296/0.002296, allocations: 287.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9073/0.9073, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 99.84 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4631/0.465, allocations: 86.97 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00227/0.4673, allocations: 1.287 MB / 0.7683 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.4683, allocations: 0.6413 MB / 0.7689 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.197e-05/0.4684, allocations: 3.938 kB / 0.769 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.632e-05/0.4684, allocations: 4 kB / 0.769 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.994e-05/0.4685, allocations: 3.938 kB / 0.769 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004754/0.469, allocations: 107.5 kB / 0.7691 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.505e-05/0.469, allocations: 23.92 kB / 0.7691 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.4691, allocations: 0 / 0.7691 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.887e-05/0.4691, allocations: 19.91 kB / 0.7691 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.252e-05/0.4692, allocations: 8 kB / 0.7691 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.4692, allocations: 0 / 0.7691 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/0.4695, allocations: 151.7 kB / 0.7693 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.285e-05/0.4695, allocations: 7.984 kB / 0.7693 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.4695, allocations: 11.94 kB / 0.7693 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.4697, allocations: 95.34 kB / 0.7694 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.4698, allocations: 0 / 0.7694 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4698, allocations: 0 / 0.7694 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.4698, allocations: 0 / 0.7694 GB, free: 1.527 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.000436/0.4702, allocations: 350.2 kB / 0.7697 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.4702, allocations: 12.03 kB / 0.7697 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004106/0.4707, allocations: 36.81 kB / 0.7697 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.4708, allocations: 168.4 kB / 0.7699 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.4708, allocations: 384 / 0.7699 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.4708, allocations: 4.375 kB / 0.7699 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.471, allocations: 58.16 kB / 0.77 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.471, allocations: 192 / 0.77 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.4711, allocations: 15.92 kB / 0.77 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.4711, allocations: 0 / 0.77 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.4712, allocations: 27.97 kB / 0.77 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.4714, allocations: 153.7 kB / 0.7702 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.4717, allocations: 74.52 kB / 0.7702 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.128e-05/0.4718, allocations: 28.94 kB / 0.7703 GB, free: 476 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.4718, allocations: 7.938 kB / 0.7703 GB, free: 468 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.4718, allocations: 30.56 kB / 0.7703 GB, free: 428 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4718, allocations: 0 / 0.7703 GB, free: 428 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.003287/0.4751, allocations: 0.5681 MB / 0.7708 GB, free: 15.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.4752, allocations: 59.34 kB / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.818e-05/0.4752, allocations: 93.84 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.4753, allocations: 29.83 kB / 0.771 GB, free: 15.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.919e-05/0.4753, allocations: 88.14 kB / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.4754, allocations: 19.64 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/0.4754, allocations: 29.69 kB / 0.7712 GB, free: 15.45 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.245e-05/0.4755, allocations: 314.8 kB / 0.7715 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.4757, allocations: 35.97 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.4758, allocations: 35.97 kB / 0.7715 GB, free: 15.06 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.4761, allocations: 88.89 kB / 0.7716 GB, free: 14.97 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4761, allocations: 0 / 0.7716 GB, free: 14.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003388/0.4764, allocations: 121.6 kB / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.4765, allocations: 7.938 kB / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.4765, allocations: 0 / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.4765, allocations: 4 kB / 0.7717 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.4767, allocations: 19.97 kB / 0.7718 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.4767, allocations: 0 / 0.7718 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.4769, allocations: 11.98 kB / 0.7718 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.4769, allocations: 11.98 kB / 0.7718 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 8.358e-05/0.477, allocations: 116.2 kB / 0.7719 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.477, allocations: 7.844 kB / 0.7719 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.692e-05/0.4771, allocations: 7.969 kB / 0.7719 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.4771, allocations: 8 kB / 0.7719 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4771, allocations: 0 / 0.7719 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4771, allocations: 0 / 0.7719 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.4773, allocations: 195.5 kB / 0.7721 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4773, allocations: 0 / 0.7721 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.4775, allocations: 19.97 kB / 0.7721 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.4775, allocations: 3.938 kB / 0.7721 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.4775, allocations: 7.984 kB / 0.7721 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4775, allocations: 0 / 0.7721 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4775, allocations: 0 / 0.7721 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005158/0.4781, allocations: 193 kB / 0.7723 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.783e-05/0.4781, allocations: 89.06 kB / 0.7724 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.4781, allocations: 16.27 kB / 0.7724 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.4783, allocations: 8 kB / 0.7724 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.4783, allocations: 3.984 kB / 0.7724 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.4784, allocations: 4 kB / 0.7724 GB, free: 14.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.155e-05/0.4784, allocations: 79.27 kB / 0.7725 GB, free: 13.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4784, allocations: 0 / 0.7725 GB, free: 13.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002408/0.4786, allocations: 32 kB / 0.7725 GB, free: 13.91 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.000209/0.4789, allocations: 131.3 kB / 0.7727 GB, free: 13.78 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003288/0.4792, allocations: 83.92 kB / 0.7727 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4792, allocations: 3.938 kB / 0.7727 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.4794, allocations: 51.95 kB / 0.7728 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.4796, allocations: 12.53 kB / 0.7728 GB, free: 13.63 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006366/0.4802, allocations: 179.7 kB / 0.773 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.4805, allocations: 0.6846 MB / 0.7736 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.809e-05/0.4806, allocations: 23.42 kB / 0.7737 GB, free: 12.69 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.4806, allocations: 0 / 0.7737 GB, free: 12.69 MB / 0.545 GB Notification: Performance of Templates: time 0.003215/0.4838, allocations: 1.572 MB / 0.7752 GB, free: 11.13 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)