Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001485/0.001485, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001675/0.001675, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8163/0.8163, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 69.8 kB / 0.582 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1253, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002036/0.1274, allocations: 1.266 MB / 0.6616 GB, free: 9 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4237/0.5511, allocations: 147 MB / 0.8051 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.911e-05/0.5512, allocations: 1.094 kB / 0.8051 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.5512, allocations: 0 / 0.8051 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.994e-05/0.5513, allocations: 12.36 kB / 0.8051 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.5517, allocations: 93.16 kB / 0.8052 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.492e-05/0.5517, allocations: 33.69 kB / 0.8053 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.183e-05/0.5518, allocations: 6.031 kB / 0.8053 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.997e-05/0.5518, allocations: 13.95 kB / 0.8053 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.326e-05/0.5519, allocations: 19.91 kB / 0.8053 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.5519, allocations: 1.312 kB / 0.8053 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002297/0.5521, allocations: 80.44 kB / 0.8054 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.5522, allocations: 14.17 kB / 0.8054 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.053e-05/0.5522, allocations: 15.89 kB / 0.8054 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.5524, allocations: 64.8 kB / 0.8055 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.5524, allocations: 1.781 kB / 0.8055 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5524, allocations: 0 / 0.8055 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.5524, allocations: 1.312 kB / 0.8055 GB, free: 11.91 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.0003753/0.5528, allocations: 350.7 kB / 0.8058 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.5528, allocations: 9.312 kB / 0.8058 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.553, allocations: 18.3 kB / 0.8058 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.239e-05/0.5531, allocations: 164.5 kB / 0.806 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.5531, allocations: 8.844 kB / 0.806 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.5531, allocations: 3.906 kB / 0.806 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.5533, allocations: 54.69 kB / 0.806 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.5533, allocations: 0 / 0.806 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.5533, allocations: 1.188 kB / 0.806 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.5533, allocations: 0 / 0.806 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.533e-05/0.5533, allocations: 17.94 kB / 0.8061 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.5535, allocations: 170 kB / 0.8062 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 7.784e-05/0.5536, allocations: 52.44 kB / 0.8063 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.733e-05/0.5536, allocations: 25.3 kB / 0.8063 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.5536, allocations: 1.031 kB / 0.8063 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.5537, allocations: 34.88 kB / 0.8063 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.5537, allocations: 3.938 kB / 0.8063 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0006676/0.5543, allocations: 377.6 kB / 0.8067 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.5544, allocations: 53.03 kB / 0.8067 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.979e-05/0.5544, allocations: 91.23 kB / 0.8068 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.5545, allocations: 30.89 kB / 0.8069 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.449e-05/0.5545, allocations: 80.14 kB / 0.8069 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.5545, allocations: 38.27 kB / 0.807 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.5546, allocations: 31.73 kB / 0.807 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.602e-05/0.5547, allocations: 322.7 kB / 0.8073 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.36e-05/0.5547, allocations: 19.09 kB / 0.8073 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.452e-05/0.5548, allocations: 40.33 kB / 0.8074 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.333e-05/0.5549, allocations: 52.44 kB / 0.8074 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.5549, allocations: 0 / 0.8074 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001254/0.555, allocations: 105.6 kB / 0.8075 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.555, allocations: 6 kB / 0.8075 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.555, allocations: 4.547 kB / 0.8075 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.555, allocations: 8.969 kB / 0.8075 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.5552, allocations: 19.08 kB / 0.8076 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.5552, allocations: 0.8438 kB / 0.8076 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.447e-05/0.5552, allocations: 4.656 kB / 0.8076 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.5552, allocations: 5.578 kB / 0.8076 GB, free: 10.05 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.898e-05/0.5553, allocations: 121.2 kB / 0.8077 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.5553, allocations: 3.094 kB / 0.8077 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.498e-05/0.5554, allocations: 11.69 kB / 0.8077 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.5554, allocations: 4 kB / 0.8077 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5554, allocations: 0.9688 kB / 0.8077 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.5554, allocations: 87.55 kB / 0.8078 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.5555, allocations: 5.625 kB / 0.8078 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.751e-05/0.5556, allocations: 6.062 kB / 0.8078 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/0.5556, allocations: 9.078 kB / 0.8078 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000231/0.5558, allocations: 164.8 kB / 0.808 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002383/0.5561, allocations: 296.1 kB / 0.8082 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.998e-05/0.5561, allocations: 29.12 kB / 0.8083 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.492e-05/0.5562, allocations: 76.41 kB / 0.8083 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of Backend: time 3e-07/0.5562, allocations: 0 / 0.8083 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004065/0.5566, allocations: 150.1 kB / 0.8085 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of SimCode: time 0.0006/0.5572, allocations: 0.7465 MB / 0.8092 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of Templates: time 0.003192/0.5604, allocations: 1.228 MB / 0.8104 GB, free: 8.469 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)