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.001084/0.001084, 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.001347/0.001347, allocations: 190.3 kB / 16.14 MB, free: 6.66 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.321/1.321, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002102/0.002102, allocations: 286.4 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9637/0.9637, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 88.3 kB / 0.5945 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.197, allocations: 86.98 MB / 0.6795 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002609/0.1996, allocations: 1.347 MB / 0.6808 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.2007, allocations: 0.6512 MB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.668e-05/0.2007, allocations: 0 / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.2008, allocations: 0.875 kB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.396e-05/0.2008, allocations: 3.984 kB / 0.6814 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.2013, allocations: 97.56 kB / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.315e-05/0.2013, allocations: 27.86 kB / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.969e-05/0.2014, allocations: 0 / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.519e-05/0.2014, allocations: 12.75 kB / 0.6815 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.446e-05/0.2015, allocations: 15.86 kB / 0.6816 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.2015, allocations: 4 kB / 0.6816 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002869/0.2018, allocations: 151.8 kB / 0.6817 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.2018, allocations: 3.984 kB / 0.6817 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.2018, allocations: 8 kB / 0.6817 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.2021, allocations: 104 kB / 0.6818 GB, free: 14.76 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2021, allocations: 0 / 0.6818 GB, free: 14.76 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.2021, allocations: 0 / 0.6818 GB, free: 14.76 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.2021, allocations: 0 / 0.6818 GB, free: 14.76 MB / 494.1 MB 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.0004807/0.2026, allocations: 355.5 kB / 0.6822 GB, free: 14.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.2026, allocations: 8.031 kB / 0.6822 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004342/0.203, allocations: 28.89 kB / 0.6822 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.2032, allocations: 172.2 kB / 0.6824 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.762e-06/0.2032, allocations: 384 / 0.6824 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.2032, allocations: 384 / 0.6824 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.2034, allocations: 66.16 kB / 0.6824 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.2034, allocations: 192 / 0.6824 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.2034, allocations: 3.938 kB / 0.6824 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2034, allocations: 4 kB / 0.6824 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.2036, allocations: 23.97 kB / 0.6824 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002497/0.2038, allocations: 165.7 kB / 0.6826 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.2042, allocations: 70.52 kB / 0.6827 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.358e-05/0.2043, allocations: 24.94 kB / 0.6827 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.2043, allocations: 0 / 0.6827 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.2044, allocations: 38.5 kB / 0.6827 GB, free: 13.65 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.2044, allocations: 4 kB / 0.6827 GB, free: 13.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003809/0.2082, allocations: 0.5758 MB / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.2083, allocations: 51.41 kB / 0.6833 GB, free: 12.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.952e-05/0.2084, allocations: 101.8 kB / 0.6834 GB, free: 12.85 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.2084, allocations: 29.7 kB / 0.6835 GB, free: 12.81 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.2084, allocations: 80.14 kB / 0.6836 GB, free: 12.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.2085, allocations: 19.72 kB / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/0.2085, allocations: 25.69 kB / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.2086, allocations: 314.8 kB / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.2088, allocations: 36.09 kB / 0.6839 GB, free: 12.33 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.2089, allocations: 39.97 kB / 0.684 GB, free: 12.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/0.2092, allocations: 84.75 kB / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.2092, allocations: 0 / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00035/0.2096, allocations: 121.6 kB / 0.6842 GB, free: 12.08 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.2096, allocations: 7.938 kB / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2096, allocations: 0 / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.2096, allocations: 0 / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.2099, allocations: 23.97 kB / 0.6842 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2099, allocations: 3.984 kB / 0.6842 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.2101, allocations: 8 kB / 0.6842 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.2101, allocations: 7.984 kB / 0.6842 GB, free: 12.03 MB / 494.1 MB 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 0.0001252/0.2102, allocations: 115.1 kB / 0.6843 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.2102, allocations: 11.88 kB / 0.6843 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.708e-05/0.2103, allocations: 12.03 kB / 0.6843 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2103, allocations: 4 kB / 0.6844 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2103, allocations: 0 / 0.6844 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2103, allocations: 0 / 0.6844 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.2105, allocations: 187.7 kB / 0.6845 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2105, allocations: 0 / 0.6845 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.2108, allocations: 23.97 kB / 0.6846 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.2108, allocations: 3.938 kB / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.2108, allocations: 7.984 kB / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2108, allocations: 4 kB / 0.6846 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2108, allocations: 4 kB / 0.6846 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006386/0.2115, allocations: 193.2 kB / 0.6848 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.2115, allocations: 88.92 kB / 0.6848 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.2115, allocations: 0 / 0.6848 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.2118, allocations: 12.02 kB / 0.6849 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.572e-05/0.2118, allocations: 4 kB / 0.6849 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.2118, allocations: 3.984 kB / 0.6849 GB, free: 11.28 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.441e-05/0.2118, allocations: 83.28 kB / 0.6849 GB, free: 11.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2118, allocations: 4.156 kB / 0.6849 GB, free: 11.19 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.2121, allocations: 31.94 kB / 0.685 GB, free: 11.16 MB / 494.1 MB 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.0001961/0.2123, allocations: 119.2 kB / 0.6851 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003287/0.2126, allocations: 87.91 kB / 0.6852 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2126, allocations: 8 kB / 0.6852 GB, free: 10.94 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.2128, allocations: 51.89 kB / 0.6852 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.2131, allocations: 4 kB / 0.6852 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000641/0.2137, allocations: 183.6 kB / 0.6854 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.214, allocations: 0.6809 MB / 0.6861 GB, free: 9.973 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000233/0.2143, allocations: 28.27 kB / 0.6861 GB, free: 9.945 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.399e-05/0.2143, allocations: 15.42 kB / 0.6861 GB, free: 9.93 MB / 494.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2144, allocations: 0 / 0.6861 GB, free: 9.93 MB / 494.1 MB Notification: Performance of Templates: time 0.00386/0.2182, allocations: 1.478 MB / 0.6876 GB, free: 8.508 MB / 494.1 MB 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)