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.001102/0.001102, allocations: 111.4 kB / 16.37 MB, free: 6.469 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.001122/0.001122, allocations: 196.6 kB / 17.31 MB, free: 5.824 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7753/0.7753, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 55.91 kB / 0.5068 GB, free: 7.691 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4012, allocations: 80.91 MB / 0.5858 GB, free: 25.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002571/0.4038, allocations: 1.278 MB / 0.587 GB, free: 24.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1483/0.5521, allocations: 147 MB / 0.7306 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.449e-05/0.5522, allocations: 0 / 0.7306 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.763e-05/0.5522, allocations: 3.984 kB / 0.7306 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.211e-05/0.5523, allocations: 3.938 kB / 0.7306 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.5527, allocations: 91.56 kB / 0.7307 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.545e-05/0.5528, allocations: 31.86 kB / 0.7307 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.949e-05/0.5528, allocations: 7.984 kB / 0.7307 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.42e-05/0.5529, allocations: 19.92 kB / 0.7307 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.121e-05/0.5529, allocations: 15.92 kB / 0.7307 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.553, allocations: 0 / 0.7307 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002507/0.5532, allocations: 83.81 kB / 0.7308 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.5532, allocations: 0 / 0.7308 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.5533, allocations: 15.94 kB / 0.7308 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.5534, allocations: 69.69 kB / 0.7309 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5534, allocations: 0 / 0.7309 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5535, allocations: 0 / 0.7309 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.5535, allocations: 0 / 0.7309 GB, free: 5.578 MB / 0.5606 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.000394/0.5539, allocations: 359.4 kB / 0.7312 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.5539, allocations: 9.109 kB / 0.7313 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.5541, allocations: 8.938 kB / 0.7313 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.5542, allocations: 160.4 kB / 0.7314 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.5542, allocations: 19.86 kB / 0.7314 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.5543, allocations: 4 kB / 0.7314 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.5544, allocations: 49.69 kB / 0.7315 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.5544, allocations: 7.984 kB / 0.7315 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.5544, allocations: 0 / 0.7315 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.5544, allocations: 3.938 kB / 0.7315 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.535e-05/0.5545, allocations: 11.98 kB / 0.7315 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.5546, allocations: 177.4 kB / 0.7317 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.98e-05/0.5547, allocations: 54.5 kB / 0.7317 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.528e-05/0.5548, allocations: 12.86 kB / 0.7317 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.5548, allocations: 4 kB / 0.7317 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.5548, allocations: 34.56 kB / 0.7318 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 9.51e-07/0.5548, allocations: 0 / 0.7318 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.000674/0.5555, allocations: 366.4 kB / 0.7321 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.5555, allocations: 51.41 kB / 0.7322 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.464e-05/0.5556, allocations: 101.9 kB / 0.7323 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.5556, allocations: 25.7 kB / 0.7323 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.361e-05/0.5557, allocations: 80.14 kB / 0.7324 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/0.5557, allocations: 47.3 kB / 0.7324 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.5557, allocations: 29.7 kB / 0.7324 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.36e-05/0.5558, allocations: 318.8 kB / 0.7327 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.238e-05/0.5559, allocations: 23.92 kB / 0.7328 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.459e-05/0.5559, allocations: 41.69 kB / 0.7328 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.789e-05/0.556, allocations: 66.38 kB / 0.7329 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.556, allocations: 0 / 0.7329 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001202/0.5561, allocations: 93.61 kB / 0.733 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.5562, allocations: 7.984 kB / 0.733 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.5562, allocations: 0 / 0.733 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.5562, allocations: 0 / 0.733 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.5563, allocations: 20 kB / 0.733 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.5563, allocations: 0 / 0.733 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.379e-05/0.5564, allocations: 12 kB / 0.733 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.5564, allocations: 0 / 0.733 GB, free: 3.145 MB / 0.5606 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.077e-05/0.5565, allocations: 129.7 kB / 0.7331 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.5565, allocations: 11.84 kB / 0.7331 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.5565, allocations: 11.97 kB / 0.7331 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.5565, allocations: 0 / 0.7331 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5565, allocations: 0 / 0.7331 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.5565, allocations: 4 kB / 0.7332 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.5566, allocations: 169.6 kB / 0.7333 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.5566, allocations: 0 / 0.7333 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.5568, allocations: 23.98 kB / 0.7333 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.5568, allocations: 4 kB / 0.7333 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.5568, allocations: 0 / 0.7333 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5568, allocations: 0 / 0.7333 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5568, allocations: 0 / 0.7333 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.557, allocations: 140.3 kB / 0.7335 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.5571, allocations: 92.98 kB / 0.7336 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.5571, allocations: 4 kB / 0.7336 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.715e-05/0.5572, allocations: 4 kB / 0.7336 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.765e-05/0.5572, allocations: 11.98 kB / 0.7336 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.5572, allocations: 0 / 0.7336 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.125e-05/0.5572, allocations: 83.28 kB / 0.7337 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5572, allocations: 0 / 0.7337 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001875/0.5574, allocations: 15.94 kB / 0.7337 GB, free: 2.363 MB / 0.5606 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 8.79e-05/0.5575, allocations: 104.5 kB / 0.7338 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.5576, allocations: 55.97 kB / 0.7338 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5577, allocations: 4.094 kB / 0.7338 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.818e-05/0.5577, allocations: 27.94 kB / 0.7339 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.5579, allocations: 13.86 kB / 0.7339 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004991/0.5584, allocations: 324.9 kB / 0.7342 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.5587, allocations: 0.6884 MB / 0.7349 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.949e-05/0.5587, allocations: 12.66 kB / 0.7349 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/0.5588, allocations: 11.44 kB / 0.7349 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.5588, allocations: 0 / 0.7349 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of Templates: time 0.002532/0.5613, allocations: 0.6348 MB / 0.7355 GB, free: 460 kB / 0.5606 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)