Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.008876/0.008876, allocations: 101.7 kB / 15.88 MB, free: 6.32 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.001661/0.001661, allocations: 198.3 kB / 16.79 MB, free: 6.246 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.474/1.474, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7435/0.7435, allocations: 122.9 MB / 413.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 67.7 kB / 0.4904 GB, free: 14.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2054, allocations: 77.93 MB / 0.5665 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00296/0.2084, allocations: 1.334 MB / 0.5678 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.2096, allocations: 0.6434 MB / 0.5685 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.773e-05/0.2097, allocations: 0 / 0.5685 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.2e-05/0.2097, allocations: 0 / 0.5685 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.586e-05/0.2098, allocations: 11.91 kB / 0.5685 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.2103, allocations: 91.7 kB / 0.5686 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.837e-05/0.2104, allocations: 31.84 kB / 0.5686 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.124e-05/0.2104, allocations: 0 / 0.5686 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.893e-05/0.2105, allocations: 15.94 kB / 0.5686 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.823e-05/0.2106, allocations: 7.984 kB / 0.5686 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.2106, allocations: 0 / 0.5686 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003338/0.2109, allocations: 151.7 kB / 0.5688 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.211, allocations: 0 / 0.5688 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.211, allocations: 15.92 kB / 0.5688 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002594/0.2113, allocations: 104 kB / 0.5689 GB, free: 14.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2113, allocations: 4 kB / 0.5689 GB, free: 14.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2113, allocations: 0 / 0.5689 GB, free: 14.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.2113, allocations: 0 / 0.5689 GB, free: 14.26 MB / 446.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.0005535/0.2119, allocations: 359.4 kB / 0.5692 GB, free: 13.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.2119, allocations: 8.031 kB / 0.5692 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004855/0.2124, allocations: 24.91 kB / 0.5693 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.2125, allocations: 176.3 kB / 0.5694 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.2126, allocations: 384 / 0.5694 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.2126, allocations: 384 / 0.5694 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.2128, allocations: 58.22 kB / 0.5695 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.2128, allocations: 192 / 0.5695 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.2129, allocations: 3.938 kB / 0.5695 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.2129, allocations: 4 kB / 0.5695 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.213, allocations: 27.97 kB / 0.5695 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002251/0.2133, allocations: 161.7 kB / 0.5697 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003442/0.2136, allocations: 70.45 kB / 0.5697 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.994e-05/0.2137, allocations: 32.92 kB / 0.5698 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.2138, allocations: 3.984 kB / 0.5698 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.2138, allocations: 34.56 kB / 0.5698 GB, free: 13.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2138, allocations: 0 / 0.5698 GB, free: 13.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.003759/0.2176, allocations: 0.5838 MB / 0.5704 GB, free: 12.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.2176, allocations: 51.41 kB / 0.5704 GB, free: 12.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.707e-05/0.2177, allocations: 97.84 kB / 0.5705 GB, free: 12.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.2177, allocations: 29.7 kB / 0.5705 GB, free: 12.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.298e-05/0.2178, allocations: 80.14 kB / 0.5706 GB, free: 12.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.469e-05/0.2178, allocations: 19.72 kB / 0.5706 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/0.2179, allocations: 33.75 kB / 0.5707 GB, free: 12.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.218, allocations: 314.8 kB / 0.571 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.2182, allocations: 31.97 kB / 0.571 GB, free: 11.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.2184, allocations: 39.97 kB / 0.571 GB, free: 11.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.2187, allocations: 84.81 kB / 0.5711 GB, free: 11.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2187, allocations: 0 / 0.5711 GB, free: 11.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003699/0.219, allocations: 121.5 kB / 0.5712 GB, free: 11.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.2191, allocations: 13.91 kB / 0.5712 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2191, allocations: 4 kB / 0.5713 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.2191, allocations: 0 / 0.5713 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.2194, allocations: 27.91 kB / 0.5713 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.2194, allocations: 240 / 0.5713 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.2195, allocations: 7.984 kB / 0.5713 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.2196, allocations: 7.984 kB / 0.5713 GB, free: 11.52 MB / 446.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.0001058/0.2197, allocations: 113.8 kB / 0.5714 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.2197, allocations: 11.94 kB / 0.5714 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.14e-05/0.2198, allocations: 7.969 kB / 0.5714 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2198, allocations: 0 / 0.5714 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2198, allocations: 0 / 0.5714 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2198, allocations: 0 / 0.5714 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.22, allocations: 187.7 kB / 0.5716 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.22, allocations: 4 kB / 0.5716 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.2203, allocations: 23.97 kB / 0.5716 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.2203, allocations: 7.875 kB / 0.5716 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.2203, allocations: 7.984 kB / 0.5716 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.2203, allocations: 4 kB / 0.5716 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2203, allocations: 0 / 0.5716 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005552/0.2209, allocations: 189 kB / 0.5718 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.2209, allocations: 84.95 kB / 0.5719 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.221, allocations: 3.984 kB / 0.5719 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.2212, allocations: 12.22 kB / 0.5719 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/0.2212, allocations: 11.98 kB / 0.5719 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.2212, allocations: 0 / 0.5719 GB, free: 10.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.689e-05/0.2213, allocations: 83.28 kB / 0.572 GB, free: 10.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2213, allocations: 0 / 0.572 GB, free: 10.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.2216, allocations: 35.92 kB / 0.572 GB, free: 10.64 MB / 446.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.0002557/0.2218, allocations: 119.2 kB / 0.5722 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003418/0.2222, allocations: 91.95 kB / 0.5722 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2222, allocations: 0 / 0.5722 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.2223, allocations: 47.95 kB / 0.5723 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.2226, allocations: 4 kB / 0.5723 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007154/0.2234, allocations: 179.7 kB / 0.5725 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.2236, allocations: 0.6809 MB / 0.5731 GB, free: 9.469 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000229/0.2239, allocations: 31.92 kB / 0.5732 GB, free: 9.438 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.013e-05/0.2239, allocations: 15.42 kB / 0.5732 GB, free: 9.422 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.224, allocations: 0 / 0.5732 GB, free: 9.422 MB / 446.1 MB Notification: Performance of Templates: time 0.004439/0.2284, allocations: 1.46 MB / 0.5746 GB, free: 8.008 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)