Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 118.3 kB / 17.08 MB, free: 5.992 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.001821/0.001822, allocations: 198.9 kB / 18.02 MB, free: 5.066 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.433/1.433, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7184/0.7184, allocations: 115.3 MB / 407.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 64.14 kB / 0.5583 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.134, allocations: 76.18 MB / 0.6327 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002495/0.1365, allocations: 1.274 MB / 0.634 GB, free: 3.141 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.5212/0.6577, allocations: 147 MB / 0.7775 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.291e-05/0.6578, allocations: 0 / 0.7775 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.146e-05/0.6579, allocations: 2.203 kB / 0.7775 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.931e-05/0.658, allocations: 8.391 kB / 0.7775 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005261/0.6585, allocations: 94.84 kB / 0.7776 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.277e-05/0.6586, allocations: 34.59 kB / 0.7776 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.6587, allocations: 2.188 kB / 0.7776 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.298e-05/0.6587, allocations: 15.73 kB / 0.7776 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.598e-05/0.6588, allocations: 19.42 kB / 0.7777 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.6588, allocations: 1.719 kB / 0.7777 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00031/0.6591, allocations: 80.94 kB / 0.7777 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.6592, allocations: 11.97 kB / 0.7778 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.6592, allocations: 11.25 kB / 0.7778 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.6594, allocations: 66.33 kB / 0.7778 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.6594, allocations: 1.766 kB / 0.7778 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.455e-06/0.6594, allocations: 4.625 kB / 0.7778 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.6594, allocations: 0 / 0.7778 GB, free: 14.39 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004359/0.6599, allocations: 347.1 kB / 0.7782 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.6599, allocations: 10.94 kB / 0.7782 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002311/0.6602, allocations: 14.16 kB / 0.7782 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.6603, allocations: 164.2 kB / 0.7783 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.6603, allocations: 5.594 kB / 0.7784 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.6603, allocations: 6.875 kB / 0.7784 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.6605, allocations: 57.08 kB / 0.7784 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.6605, allocations: 0 / 0.7784 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.6605, allocations: 5.25 kB / 0.7784 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.6605, allocations: 1.156 kB / 0.7784 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.496e-05/0.6606, allocations: 20.14 kB / 0.7784 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.6608, allocations: 168 kB / 0.7786 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.6609, allocations: 50.89 kB / 0.7786 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.754e-05/0.661, allocations: 21.33 kB / 0.7787 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.661, allocations: 0.7812 kB / 0.7787 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.661, allocations: 39.69 kB / 0.7787 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.661, allocations: 0 / 0.7787 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.000867/0.6619, allocations: 367.5 kB / 0.7791 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.662, allocations: 52.84 kB / 0.7791 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.464e-05/0.662, allocations: 98.7 kB / 0.7792 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.6621, allocations: 26.7 kB / 0.7792 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.333e-05/0.6621, allocations: 84.27 kB / 0.7793 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.708e-05/0.6621, allocations: 39 kB / 0.7793 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.223e-05/0.6622, allocations: 28.03 kB / 0.7794 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.6623, allocations: 321.4 kB / 0.7797 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.323e-05/0.6624, allocations: 20.8 kB / 0.7797 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.449e-05/0.6624, allocations: 43.42 kB / 0.7797 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.6626, allocations: 62.47 kB / 0.7798 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.6626, allocations: 0.5312 kB / 0.7798 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001802/0.6628, allocations: 97.31 kB / 0.7799 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.6628, allocations: 7.5 kB / 0.7799 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6628, allocations: 0.6875 kB / 0.7799 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.6628, allocations: 1.031 kB / 0.7799 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.663, allocations: 21.16 kB / 0.7799 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.663, allocations: 1.062 kB / 0.7799 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.75e-05/0.663, allocations: 4.875 kB / 0.7799 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.663, allocations: 7.297 kB / 0.7799 GB, free: 12.54 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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 9.99e-05/0.6632, allocations: 120.5 kB / 0.78 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.6632, allocations: 7.125 kB / 0.7801 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.304e-05/0.6632, allocations: 10.84 kB / 0.7801 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.6632, allocations: 1.594 kB / 0.7801 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.6632, allocations: 5.344 kB / 0.7801 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.6633, allocations: 0 / 0.7801 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.6634, allocations: 176.5 kB / 0.7802 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.6634, allocations: 0 / 0.7802 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.6635, allocations: 26.14 kB / 0.7803 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.6636, allocations: 2.797 kB / 0.7803 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.6636, allocations: 0 / 0.7803 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.6636, allocations: 1.594 kB / 0.7803 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.6636, allocations: 3.312 kB / 0.7803 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.6638, allocations: 139.1 kB / 0.7804 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.172e-05/0.6639, allocations: 86.69 kB / 0.7805 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.6639, allocations: 7.359 kB / 0.7805 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.623e-05/0.664, allocations: 5.906 kB / 0.7805 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.664, allocations: 6.156 kB / 0.7805 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.6641, allocations: 5.812 kB / 0.7805 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.379e-05/0.6641, allocations: 76.34 kB / 0.7806 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6641, allocations: 0 / 0.7806 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000217/0.6643, allocations: 15.97 kB / 0.7806 GB, free: 11.96 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.000111/0.6644, allocations: 106.7 kB / 0.7807 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.6646, allocations: 57.14 kB / 0.7808 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6646, allocations: 0 / 0.7808 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.472e-05/0.6647, allocations: 34.47 kB / 0.7808 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.6649, allocations: 8.594 kB / 0.7808 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006057/0.6655, allocations: 344.4 kB / 0.7811 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.6658, allocations: 0.6866 MB / 0.7818 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.6658, allocations: 12.5 kB / 0.7818 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.6658, allocations: 4 kB / 0.7818 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of Templates: time 0.002537/0.6684, allocations: 0.8399 MB / 0.7826 GB, free: 10.82 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)