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.00144/0.00144, allocations: 103 kB / 16.27 MB, free: 6.371 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.001296/0.001296, allocations: 186.6 kB / 17.2 MB, free: 5.949 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.471/1.471, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8319/0.8319, allocations: 126.7 MB / 417.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 63.91 kB / 0.4958 GB, free: 2.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4244, allocations: 78.85 MB / 0.5728 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002533/0.427, allocations: 1.279 MB / 0.574 GB, free: 30.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009723/0.428, allocations: 0.6344 MB / 0.5746 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.287e-05/0.4281, allocations: 0.875 kB / 0.5746 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.4281, allocations: 5.406 kB / 0.5746 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.617e-05/0.4281, allocations: 6.859 kB / 0.5746 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005331/0.4287, allocations: 108.5 kB / 0.5748 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.039e-05/0.4288, allocations: 23.84 kB / 0.5748 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.4288, allocations: 2.5 kB / 0.5748 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.588e-05/0.4288, allocations: 15.3 kB / 0.5748 GB, free: 29.74 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.241e-05/0.4289, allocations: 12.11 kB / 0.5748 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.4289, allocations: 2.469 kB / 0.5748 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000319/0.4293, allocations: 141.7 kB / 0.5749 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.4293, allocations: 7.688 kB / 0.5749 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.536e-05/0.4293, allocations: 11.02 kB / 0.575 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.4296, allocations: 101.3 kB / 0.5751 GB, free: 29.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4296, allocations: 0 / 0.5751 GB, free: 29.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4296, allocations: 5.281 kB / 0.5751 GB, free: 29.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.4296, allocations: 0 / 0.5751 GB, free: 29.66 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.0004522/0.4301, allocations: 356.7 kB / 0.5754 GB, free: 29.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.4301, allocations: 10.31 kB / 0.5754 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004337/0.4305, allocations: 28.77 kB / 0.5754 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.76e-05/0.4307, allocations: 170.5 kB / 0.5756 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.4307, allocations: 2.656 kB / 0.5756 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.4307, allocations: 6.609 kB / 0.5756 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.4309, allocations: 59.45 kB / 0.5757 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.4309, allocations: 0.6875 kB / 0.5757 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.4309, allocations: 5.5 kB / 0.5757 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4309, allocations: 0.9062 kB / 0.5757 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.4311, allocations: 27.3 kB / 0.5757 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.4313, allocations: 162.9 kB / 0.5759 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.4316, allocations: 70.92 kB / 0.5759 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.797e-05/0.4317, allocations: 28.38 kB / 0.5759 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.4318, allocations: 1.188 kB / 0.5759 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.4318, allocations: 35.95 kB / 0.576 GB, free: 28.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.4318, allocations: 3.938 kB / 0.576 GB, free: 28.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.003404/0.4352, allocations: 0.5654 MB / 0.5765 GB, free: 28.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.4352, allocations: 53.62 kB / 0.5766 GB, free: 28.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.823e-05/0.4353, allocations: 98.73 kB / 0.5767 GB, free: 28.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.4353, allocations: 26.55 kB / 0.5767 GB, free: 28.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.746e-05/0.4354, allocations: 86.28 kB / 0.5768 GB, free: 28.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.4354, allocations: 23.86 kB / 0.5768 GB, free: 28.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.53e-05/0.4355, allocations: 26.06 kB / 0.5768 GB, free: 28.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.584e-05/0.4356, allocations: 314.7 kB / 0.5771 GB, free: 27.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.4357, allocations: 43.81 kB / 0.5772 GB, free: 27.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.4359, allocations: 35.77 kB / 0.5772 GB, free: 27.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.4362, allocations: 81.53 kB / 0.5773 GB, free: 27.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4362, allocations: 3.938 kB / 0.5773 GB, free: 27.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003677/0.4365, allocations: 123.5 kB / 0.5774 GB, free: 27.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.4366, allocations: 11.2 kB / 0.5774 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.4366, allocations: 1.375 kB / 0.5774 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.4366, allocations: 1.781 kB / 0.5774 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.4368, allocations: 31.75 kB / 0.5775 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.4368, allocations: 0 / 0.5775 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.437, allocations: 7.391 kB / 0.5775 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.437, allocations: 4.953 kB / 0.5775 GB, free: 27.66 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 7.259e-05/0.4371, allocations: 115.8 kB / 0.5776 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.4371, allocations: 7.484 kB / 0.5776 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.848e-05/0.4372, allocations: 10.41 kB / 0.5776 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4372, allocations: 2.172 kB / 0.5776 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4372, allocations: 0 / 0.5776 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4372, allocations: 0.6562 kB / 0.5776 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.4374, allocations: 191.8 kB / 0.5778 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4374, allocations: 2.031 kB / 0.5778 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.4376, allocations: 23.69 kB / 0.5778 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.4376, allocations: 3.938 kB / 0.5778 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.4377, allocations: 4.281 kB / 0.5778 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4377, allocations: 4.5 kB / 0.5778 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4377, allocations: 0 / 0.5778 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005343/0.4382, allocations: 201.9 kB / 0.578 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.397e-05/0.4383, allocations: 84.95 kB / 0.5781 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.4383, allocations: 1.969 kB / 0.5781 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.4385, allocations: 11.73 kB / 0.5781 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.233e-05/0.4385, allocations: 7.969 kB / 0.5781 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.4385, allocations: 6.734 kB / 0.5781 GB, free: 27.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.136e-05/0.4385, allocations: 77.19 kB / 0.5782 GB, free: 27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4386, allocations: 2.031 kB / 0.5782 GB, free: 27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.4388, allocations: 27.38 kB / 0.5782 GB, free: 27 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.0001991/0.439, allocations: 124.2 kB / 0.5783 GB, free: 26.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003463/0.4394, allocations: 91.84 kB / 0.5784 GB, free: 26.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4394, allocations: 1.562 kB / 0.5784 GB, free: 26.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.4395, allocations: 44.64 kB / 0.5785 GB, free: 26.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.4398, allocations: 18.95 kB / 0.5785 GB, free: 26.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006351/0.4404, allocations: 166.1 kB / 0.5786 GB, free: 26.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.4406, allocations: 0.6802 MB / 0.5793 GB, free: 25.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002148/0.4408, allocations: 27.62 kB / 0.5793 GB, free: 25.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.757e-05/0.4408, allocations: 15.8 kB / 0.5794 GB, free: 25.96 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4409, allocations: 2.062 kB / 0.5794 GB, free: 25.96 MB / 446.1 MB Notification: Performance of Templates: time 0.004169/0.445, allocations: 1.494 MB / 0.5808 GB, free: 25.24 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)