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.001224/0.001224, allocations: 115.3 kB / 17.09 MB, free: 6.012 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.001227/0.001227, allocations: 193.6 kB / 18.02 MB, free: 5.094 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.231/1.231, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7039/0.7039, allocations: 115.3 MB / 407.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 65.25 kB / 0.5583 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1093, 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.0019/0.1112, allocations: 1.262 MB / 0.634 GB, free: 3.152 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.4019/0.5132, allocations: 147 MB / 0.7775 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.953e-05/0.5132, allocations: 0 / 0.7775 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.5133, allocations: 2.484 kB / 0.7775 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.672e-05/0.5133, allocations: 7.312 kB / 0.7775 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.5137, allocations: 96.55 kB / 0.7776 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.213e-05/0.5138, allocations: 39.69 kB / 0.7776 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.325e-05/0.5139, allocations: 4.672 kB / 0.7776 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.993e-05/0.5139, allocations: 14.91 kB / 0.7777 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.204e-05/0.514, allocations: 15.25 kB / 0.7777 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.514, allocations: 2.125 kB / 0.7777 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.5142, allocations: 83.67 kB / 0.7778 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.343e-05/0.5142, allocations: 5.047 kB / 0.7778 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.5143, allocations: 17.41 kB / 0.7778 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.5144, allocations: 62.25 kB / 0.7778 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.5144, allocations: 0.5 kB / 0.7778 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5145, allocations: 4.781 kB / 0.7778 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.5145, allocations: 0 / 0.7778 GB, free: 14.4 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.000362/0.5148, allocations: 351.8 kB / 0.7782 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.5149, allocations: 8.812 kB / 0.7782 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.5151, allocations: 15.17 kB / 0.7782 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.432e-05/0.5152, allocations: 165.5 kB / 0.7784 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.5152, allocations: 5.531 kB / 0.7784 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.5152, allocations: 8.312 kB / 0.7784 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.5153, allocations: 57.28 kB / 0.7784 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.5154, allocations: 0 / 0.7784 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.5154, allocations: 1.156 kB / 0.7784 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.5154, allocations: 0.6562 kB / 0.7784 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.773e-05/0.5154, allocations: 21.5 kB / 0.7784 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.5156, allocations: 166.5 kB / 0.7786 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.848e-05/0.5157, allocations: 54.09 kB / 0.7787 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.833e-05/0.5157, allocations: 19.77 kB / 0.7787 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.5158, allocations: 0.5625 kB / 0.7787 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.5158, allocations: 35.84 kB / 0.7787 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.5158, allocations: 0 / 0.7787 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0007033/0.5165, allocations: 371.1 kB / 0.7791 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.5165, allocations: 52.97 kB / 0.7791 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.62e-05/0.5166, allocations: 102.6 kB / 0.7792 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.5166, allocations: 31.23 kB / 0.7792 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.135e-05/0.5167, allocations: 82.33 kB / 0.7793 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/0.5167, allocations: 37.77 kB / 0.7794 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.5168, allocations: 26.89 kB / 0.7794 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.199e-05/0.5169, allocations: 322 kB / 0.7797 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.585e-05/0.5169, allocations: 16.67 kB / 0.7797 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.361e-05/0.517, allocations: 46.12 kB / 0.7797 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.027e-05/0.5171, allocations: 58.41 kB / 0.7798 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.5171, allocations: 0.5625 kB / 0.7798 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001541/0.5172, allocations: 100 kB / 0.7799 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.5172, allocations: 6.5 kB / 0.7799 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.5173, allocations: 0.5312 kB / 0.7799 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.5173, allocations: 1.562 kB / 0.7799 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.5174, allocations: 25.84 kB / 0.7799 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.5174, allocations: 5.781 kB / 0.7799 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.34e-05/0.5174, allocations: 5.594 kB / 0.7799 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.5175, allocations: 5.25 kB / 0.7799 GB, free: 12.55 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 7.588e-05/0.5175, allocations: 117.6 kB / 0.7801 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.5176, allocations: 2.656 kB / 0.7801 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.37e-05/0.5176, allocations: 12.86 kB / 0.7801 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.5176, allocations: 2.531 kB / 0.7801 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5176, allocations: 0 / 0.7801 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.753e-05/0.5177, allocations: 86.22 kB / 0.7802 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.5177, allocations: 5.469 kB / 0.7802 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.754e-05/0.5178, allocations: 12.7 kB / 0.7802 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/0.5178, allocations: 4.562 kB / 0.7802 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002203/0.518, allocations: 173 kB / 0.7803 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002187/0.5183, allocations: 284.5 kB / 0.7806 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.226e-05/0.5183, allocations: 28.81 kB / 0.7806 GB, free: 12 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.412e-05/0.5183, allocations: 80.34 kB / 0.7807 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of Backend: time 3.71e-07/0.5184, allocations: 0 / 0.7807 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004133/0.5188, allocations: 150.5 kB / 0.7809 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of SimCode: time 0.0005968/0.5194, allocations: 0.7592 MB / 0.7816 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of Templates: time 0.003178/0.5226, allocations: 1.219 MB / 0.7828 GB, free: 10.98 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)