Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001175/0.001175, allocations: 114.4 kB / 16.42 MB, free: 6.016 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.001157/0.001157, allocations: 183.7 kB / 17.35 MB, free: 5.633 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.195/1.195, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7284/0.7284, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 66.39 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1206, allocations: 80.92 MB / 0.6653 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002153/0.1228, allocations: 1.272 MB / 0.6665 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4146/0.5374, allocations: 147 MB / 0.8101 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.5374, allocations: 0 / 0.8101 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.6e-05/0.5375, allocations: 4.219 kB / 0.8101 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.417e-05/0.5375, allocations: 5.094 kB / 0.8101 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.538, allocations: 97.77 kB / 0.8102 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.309e-05/0.5381, allocations: 35.67 kB / 0.8102 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.378e-05/0.5381, allocations: 5.031 kB / 0.8102 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.821e-05/0.5381, allocations: 23.08 kB / 0.8102 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.127e-05/0.5382, allocations: 14.8 kB / 0.8103 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.5382, allocations: 2.875 kB / 0.8103 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002441/0.5385, allocations: 81.44 kB / 0.8103 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.5385, allocations: 9.016 kB / 0.8103 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.752e-05/0.5385, allocations: 14.88 kB / 0.8104 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.5387, allocations: 65.95 kB / 0.8104 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5387, allocations: 0 / 0.8104 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5387, allocations: 0.6875 kB / 0.8104 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.5387, allocations: 0 / 0.8104 GB, free: 11.52 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.0003614/0.5391, allocations: 355.2 kB / 0.8108 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.5391, allocations: 7.578 kB / 0.8108 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.5393, allocations: 11.66 kB / 0.8108 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.5394, allocations: 170.1 kB / 0.8109 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.5394, allocations: 7.125 kB / 0.811 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.5395, allocations: 9.469 kB / 0.811 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.5396, allocations: 50.03 kB / 0.811 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.5396, allocations: 4 kB / 0.811 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.5396, allocations: 0.875 kB / 0.811 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.5396, allocations: 2.312 kB / 0.811 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.194e-05/0.5397, allocations: 18.56 kB / 0.811 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.5398, allocations: 166.4 kB / 0.8112 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 7.094e-05/0.5399, allocations: 55.08 kB / 0.8112 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.51e-05/0.5399, allocations: 15.02 kB / 0.8113 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/0.5399, allocations: 0 / 0.8113 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.54, allocations: 42.98 kB / 0.8113 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.54, allocations: 3.938 kB / 0.8113 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0006252/0.5406, allocations: 365.3 kB / 0.8117 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.5407, allocations: 57.09 kB / 0.8117 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.152e-05/0.5407, allocations: 95.39 kB / 0.8118 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.5407, allocations: 33.39 kB / 0.8118 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.287e-05/0.5408, allocations: 80.14 kB / 0.8119 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.5408, allocations: 40.03 kB / 0.8119 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.5409, allocations: 30 kB / 0.812 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.541, allocations: 323.9 kB / 0.8123 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.208e-05/0.541, allocations: 20.53 kB / 0.8123 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.238e-05/0.541, allocations: 35.08 kB / 0.8123 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.043e-05/0.5411, allocations: 60.45 kB / 0.8124 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.5411, allocations: 0 / 0.8124 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001187/0.5413, allocations: 104.9 kB / 0.8125 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.5413, allocations: 4.469 kB / 0.8125 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.5413, allocations: 0 / 0.8125 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.5413, allocations: 3.625 kB / 0.8125 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.5414, allocations: 23.27 kB / 0.8125 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.5414, allocations: 2.25 kB / 0.8125 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.163e-05/0.5415, allocations: 7.062 kB / 0.8125 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.5415, allocations: 2.5 kB / 0.8125 GB, free: 9.668 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.524e-05/0.5415, allocations: 128.1 kB / 0.8127 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.364e-05/0.5416, allocations: 3.438 kB / 0.8127 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.5416, allocations: 13.16 kB / 0.8127 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5416, allocations: 0 / 0.8127 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5416, allocations: 0 / 0.8127 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-05/0.5417, allocations: 84.45 kB / 0.8128 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.5417, allocations: 5.969 kB / 0.8128 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-05/0.5418, allocations: 9.016 kB / 0.8128 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.5418, allocations: 12.27 kB / 0.8128 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002166/0.542, allocations: 169.2 kB / 0.8129 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002171/0.5423, allocations: 285.4 kB / 0.8132 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.913e-05/0.5423, allocations: 30.39 kB / 0.8132 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.227e-05/0.5423, allocations: 77.25 kB / 0.8133 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of Backend: time 3.01e-07/0.5424, allocations: 96 / 0.8133 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003997/0.5428, allocations: 151.7 kB / 0.8135 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of SimCode: time 0.000622/0.5434, allocations: 0.7456 MB / 0.8142 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of Templates: time 0.003249/0.5466, allocations: 1.225 MB / 0.8154 GB, free: 8.055 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)