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.001183/0.001183, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.9 kB / 17.35 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.234/1.234, 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.00206/0.00206, allocations: 287.6 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.8934/0.8934, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 95.78 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.351, allocations: 86.98 MB / 0.7671 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00203/0.3531, allocations: 1.273 MB / 0.7683 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000916/0.354, allocations: 0.649 MB / 0.769 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.497e-05/0.3541, allocations: 0 / 0.769 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.38e-05/0.3541, allocations: 0 / 0.769 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.74e-05/0.3541, allocations: 3.938 kB / 0.769 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.3545, allocations: 111.5 kB / 0.7691 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.222e-05/0.3546, allocations: 23.92 kB / 0.7691 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.495e-05/0.3546, allocations: 3.984 kB / 0.7691 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.026e-05/0.3546, allocations: 11.94 kB / 0.7691 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.738e-05/0.3547, allocations: 11.98 kB / 0.7691 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.3547, allocations: 0 / 0.7691 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002557/0.355, allocations: 151.7 kB / 0.7693 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.355, allocations: 0 / 0.7693 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.355, allocations: 19.92 kB / 0.7693 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.3552, allocations: 95.34 kB / 0.7694 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.3552, allocations: 4 kB / 0.7694 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3552, allocations: 0 / 0.7694 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.3552, allocations: 0 / 0.7694 GB, free: 1.441 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.0003995/0.3556, allocations: 350.2 kB / 0.7697 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.3557, allocations: 12.03 kB / 0.7697 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000386/0.3561, allocations: 32.8 kB / 0.7698 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.474e-05/0.3562, allocations: 164.4 kB / 0.7699 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.3562, allocations: 384 / 0.7699 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.3562, allocations: 4.375 kB / 0.7699 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.3564, allocations: 66.14 kB / 0.77 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.3564, allocations: 192 / 0.77 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.3564, allocations: 3.938 kB / 0.77 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3564, allocations: 0 / 0.77 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.3566, allocations: 31.97 kB / 0.77 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.3567, allocations: 165.7 kB / 0.7702 GB, free: 500 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.357, allocations: 66.47 kB / 0.7702 GB, free: 424 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.781e-05/0.3571, allocations: 28.94 kB / 0.7703 GB, free: 392 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.3571, allocations: 0 / 0.7703 GB, free: 392 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.3572, allocations: 38.56 kB / 0.7703 GB, free: 344 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3572, allocations: 0 / 0.7703 GB, free: 344 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.003175/0.3603, allocations: 0.5759 MB / 0.7709 GB, free: 15.71 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.3604, allocations: 59.34 kB / 0.7709 GB, free: 15.64 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.975e-05/0.3604, allocations: 89.86 kB / 0.771 GB, free: 15.54 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.3605, allocations: 29.7 kB / 0.771 GB, free: 15.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.202e-05/0.3605, allocations: 84.14 kB / 0.7711 GB, free: 15.42 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.3605, allocations: 19.64 kB / 0.7711 GB, free: 15.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.3606, allocations: 29.83 kB / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.3607, allocations: 314.8 kB / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.3608, allocations: 39.95 kB / 0.7715 GB, free: 15.01 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.361, allocations: 35.97 kB / 0.7715 GB, free: 14.97 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.3612, allocations: 84.77 kB / 0.7716 GB, free: 14.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3612, allocations: 0 / 0.7716 GB, free: 14.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003314/0.3616, allocations: 121.6 kB / 0.7717 GB, free: 14.76 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3616, allocations: 10.75 kB / 0.7717 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3616, allocations: 4 kB / 0.7717 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.3616, allocations: 0 / 0.7717 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.3619, allocations: 27.97 kB / 0.7718 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.3619, allocations: 240 / 0.7718 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.362, allocations: 4 kB / 0.7718 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.362, allocations: 7.984 kB / 0.7718 GB, free: 14.71 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.412e-05/0.3621, allocations: 116.2 kB / 0.7719 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.3622, allocations: 15.84 kB / 0.7719 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.402e-05/0.3622, allocations: 7.969 kB / 0.7719 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3622, allocations: 0 / 0.7719 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3622, allocations: 0 / 0.7719 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.3623, allocations: 85.09 kB / 0.772 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.3623, allocations: 3.938 kB / 0.772 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.3625, allocations: 12.33 kB / 0.772 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.3625, allocations: 3.984 kB / 0.772 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005243/0.363, allocations: 208.9 kB / 0.7722 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005382/0.3636, allocations: 346.7 kB / 0.7725 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001383/0.3637, allocations: 52.05 kB / 0.7726 GB, free: 13.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.082e-05/0.3638, allocations: 75.28 kB / 0.7727 GB, free: 13.75 MB / 0.545 GB Notification: Performance of Backend: time 2.81e-07/0.3638, allocations: 0 / 0.7727 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005709/0.3644, allocations: 194.2 kB / 0.7728 GB, free: 13.55 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004258/0.3648, allocations: 0.5697 MB / 0.7734 GB, free: 12.94 MB / 0.545 GB Notification: Performance of Templates: time 0.004642/0.3694, allocations: 2.452 MB / 0.7758 GB, free: 10.54 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)