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.001462/0.001462, allocations: 115.4 kB / 17.04 MB, free: 6.133 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.001652/0.001652, allocations: 196.1 kB / 17.98 MB, free: 5.227 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.355/1.355, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6825/0.6825, allocations: 115.3 MB / 407.1 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 65.5 kB / 0.5582 GB, free: 32.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.142, allocations: 76.17 MB / 0.6326 GB, free: 4.559 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002183/0.1442, allocations: 1.264 MB / 0.6338 GB, free: 3.281 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.493/0.6373, allocations: 147 MB / 0.7774 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.377e-05/0.6373, allocations: 1.781 kB / 0.7774 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.41e-05/0.6375, allocations: 3.141 kB / 0.7774 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.605e-05/0.6375, allocations: 4.594 kB / 0.7774 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.6379, allocations: 99.3 kB / 0.7775 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.781e-05/0.638, allocations: 31.2 kB / 0.7775 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.631e-05/0.6381, allocations: 4.125 kB / 0.7775 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.373e-05/0.6381, allocations: 17.7 kB / 0.7775 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.129e-05/0.6382, allocations: 14.61 kB / 0.7775 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.6382, allocations: 2.625 kB / 0.7775 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.6384, allocations: 81.34 kB / 0.7776 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.6385, allocations: 11.83 kB / 0.7776 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.818e-05/0.6385, allocations: 16.81 kB / 0.7776 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.6386, allocations: 67.19 kB / 0.7777 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.6387, allocations: 0 / 0.7777 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6387, allocations: 0 / 0.7777 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.6387, allocations: 1.125 kB / 0.7777 GB, free: 14.37 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.0003856/0.6391, allocations: 347.6 kB / 0.778 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.6391, allocations: 9.188 kB / 0.778 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.6393, allocations: 15.53 kB / 0.778 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.878e-05/0.6394, allocations: 167.5 kB / 0.7782 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.6394, allocations: 5 kB / 0.7782 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.6395, allocations: 9.375 kB / 0.7782 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.6396, allocations: 53.58 kB / 0.7783 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.6396, allocations: 2.531 kB / 0.7783 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.6396, allocations: 1.156 kB / 0.7783 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.6396, allocations: 1.219 kB / 0.7783 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.946e-05/0.6397, allocations: 16.38 kB / 0.7783 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/0.6399, allocations: 166.9 kB / 0.7785 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.64, allocations: 54.33 kB / 0.7785 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.408e-05/0.64, allocations: 17.94 kB / 0.7785 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.64, allocations: 5.047 kB / 0.7785 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.6401, allocations: 35.94 kB / 0.7786 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.923e-06/0.6401, allocations: 0 / 0.7786 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0007823/0.6408, allocations: 372.8 kB / 0.7789 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.6409, allocations: 53 kB / 0.779 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.277e-05/0.641, allocations: 96.81 kB / 0.7791 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.641, allocations: 28 kB / 0.7791 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.641, allocations: 80.86 kB / 0.7792 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.6411, allocations: 45.86 kB / 0.7792 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/0.6411, allocations: 27.53 kB / 0.7792 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.6412, allocations: 323.3 kB / 0.7795 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.52e-05/0.6413, allocations: 21.09 kB / 0.7796 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.521e-05/0.6414, allocations: 35.48 kB / 0.7796 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.6415, allocations: 63.14 kB / 0.7797 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.6415, allocations: 0.5312 kB / 0.7797 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001578/0.6416, allocations: 99.95 kB / 0.7798 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.6417, allocations: 9.031 kB / 0.7798 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.6417, allocations: 1.625 kB / 0.7798 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.6417, allocations: 5 kB / 0.7798 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.6418, allocations: 20.78 kB / 0.7798 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.6418, allocations: 1 kB / 0.7798 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.214e-05/0.6419, allocations: 1.062 kB / 0.7798 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.6419, allocations: 6.938 kB / 0.7798 GB, free: 12.52 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 8.278e-05/0.642, allocations: 119.9 kB / 0.7799 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.642, allocations: 5.125 kB / 0.7799 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.732e-05/0.642, allocations: 11.38 kB / 0.7799 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6421, allocations: 1.594 kB / 0.7799 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.6421, allocations: 5.703 kB / 0.7799 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.6421, allocations: 0.5625 kB / 0.7799 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.6422, allocations: 173.1 kB / 0.7801 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6422, allocations: 0.5 kB / 0.7801 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.6424, allocations: 25.97 kB / 0.7801 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.6424, allocations: 0.5625 kB / 0.7801 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.6424, allocations: 1.125 kB / 0.7801 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.6424, allocations: 0.5938 kB / 0.7801 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6424, allocations: 0.5312 kB / 0.7801 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.6426, allocations: 151.5 kB / 0.7803 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.132e-05/0.6427, allocations: 86.05 kB / 0.7804 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.6427, allocations: 1.312 kB / 0.7804 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.699e-05/0.6428, allocations: 7.797 kB / 0.7804 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/0.6428, allocations: 5.141 kB / 0.7804 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.6428, allocations: 3.844 kB / 0.7804 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.421e-05/0.6429, allocations: 78.66 kB / 0.7804 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.41e-07/0.6429, allocations: 1.219 kB / 0.7804 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001976/0.6431, allocations: 21.22 kB / 0.7805 GB, free: 11.95 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.0001/0.6432, allocations: 102.2 kB / 0.7806 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001314/0.6433, allocations: 58.77 kB / 0.7806 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6434, allocations: 1.094 kB / 0.7806 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.038e-05/0.6434, allocations: 32.8 kB / 0.7807 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.6436, allocations: 13.42 kB / 0.7807 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005673/0.6442, allocations: 342.9 kB / 0.781 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.6444, allocations: 0.6908 MB / 0.7817 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.6445, allocations: 16.31 kB / 0.7817 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.6445, allocations: 0 / 0.7817 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of Templates: time 0.002119/0.6466, allocations: 0.8194 MB / 0.7825 GB, free: 10.81 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)