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.001444/0.001444, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.445/1.445, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.021/1.021, allocations: 135.2 MB / 425.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.00143, allocations: 68.61 kB / 0.5054 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2157, allocations: 80.93 MB / 0.5844 GB, free: 4.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002883/0.2187, allocations: 1.274 MB / 0.5857 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5437/0.7624, allocations: 147 MB / 0.7292 GB, free: 1.617 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.564e-05/0.7625, allocations: 0 / 0.7292 GB, free: 1.617 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.07e-05/0.7626, allocations: 7.766 kB / 0.7292 GB, free: 1.613 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.873e-05/0.7627, allocations: 7.922 kB / 0.7292 GB, free: 1.605 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005905/0.7633, allocations: 93 kB / 0.7293 GB, free: 1.562 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.95e-05/0.7634, allocations: 39.31 kB / 0.7293 GB, free: 1.543 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.059e-05/0.7635, allocations: 9.719 kB / 0.7293 GB, free: 1.539 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.709e-05/0.7636, allocations: 12.45 kB / 0.7293 GB, free: 1.535 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.598e-05/0.7636, allocations: 18.39 kB / 0.7294 GB, free: 1.527 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.7636, allocations: 1.469 kB / 0.7294 GB, free: 1.527 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003373/0.764, allocations: 82.5 kB / 0.7294 GB, free: 1.492 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.764, allocations: 3.562 kB / 0.7295 GB, free: 1.492 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.08e-05/0.7641, allocations: 16.94 kB / 0.7295 GB, free: 1.484 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.7643, allocations: 67.27 kB / 0.7295 GB, free: 1.461 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.7643, allocations: 0 / 0.7295 GB, free: 1.461 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7643, allocations: 1.219 kB / 0.7295 GB, free: 1.461 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.7643, allocations: 0 / 0.7295 GB, free: 1.461 MB / 0.545 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.0004625/0.7648, allocations: 352.4 kB / 0.7299 GB, free: 1.094 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.7648, allocations: 9.844 kB / 0.7299 GB, free: 1.094 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002336/0.7651, allocations: 16.56 kB / 0.7299 GB, free: 1.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.7652, allocations: 168.8 kB / 0.7301 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.7652, allocations: 6.406 kB / 0.7301 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.7653, allocations: 7.344 kB / 0.7301 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.7654, allocations: 50.94 kB / 0.7301 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.7654, allocations: 1.469 kB / 0.7301 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.7654, allocations: 7.938 kB / 0.7301 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.7655, allocations: 0.9062 kB / 0.7301 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.332e-05/0.7655, allocations: 14.39 kB / 0.7301 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.7657, allocations: 174.7 kB / 0.7303 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.7658, allocations: 55.2 kB / 0.7304 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.7659, allocations: 17.45 kB / 0.7304 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.7659, allocations: 1.125 kB / 0.7304 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.7659, allocations: 32.31 kB / 0.7304 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.7659, allocations: 0 / 0.7304 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0008041/0.7668, allocations: 368.9 kB / 0.7308 GB, free: 248 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.7668, allocations: 52.59 kB / 0.7308 GB, free: 184 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.904e-05/0.7669, allocations: 92.5 kB / 0.7309 GB, free: 84 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.7669, allocations: 35.08 kB / 0.7309 GB, free: 44 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.767, allocations: 80.14 kB / 0.731 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/0.767, allocations: 44.72 kB / 0.731 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.7671, allocations: 31.3 kB / 0.7311 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.7672, allocations: 321.5 kB / 0.7314 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.908e-05/0.7672, allocations: 17.98 kB / 0.7314 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.056e-05/0.7673, allocations: 36.33 kB / 0.7314 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.829e-05/0.7674, allocations: 63.83 kB / 0.7315 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.7674, allocations: 0 / 0.7315 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001548/0.7676, allocations: 96.14 kB / 0.7316 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.7676, allocations: 9.609 kB / 0.7316 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.7676, allocations: 1.031 kB / 0.7316 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.7676, allocations: 1.281 kB / 0.7316 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.7677, allocations: 20.75 kB / 0.7316 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.7678, allocations: 6.156 kB / 0.7316 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.384e-05/0.7678, allocations: 1.062 kB / 0.7316 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.567e-06/0.7678, allocations: 10.19 kB / 0.7316 GB, free: 15.44 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.803e-05/0.7679, allocations: 117.3 kB / 0.7318 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.7679, allocations: 8.453 kB / 0.7318 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.487e-05/0.768, allocations: 11.97 kB / 0.7318 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.768, allocations: 2.125 kB / 0.7318 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.768, allocations: 0 / 0.7318 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.768, allocations: 0.9844 kB / 0.7318 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.7681, allocations: 175.3 kB / 0.7319 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.7681, allocations: 0 / 0.7319 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.7683, allocations: 25.66 kB / 0.732 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.7683, allocations: 1.062 kB / 0.732 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.7683, allocations: 6.125 kB / 0.732 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.7683, allocations: 1.328 kB / 0.732 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7683, allocations: 5.188 kB / 0.732 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.7686, allocations: 133.7 kB / 0.7321 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-05/0.7687, allocations: 86.67 kB / 0.7322 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.7687, allocations: 3.25 kB / 0.7322 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.555e-05/0.7688, allocations: 6.156 kB / 0.7322 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.106e-05/0.7688, allocations: 6.641 kB / 0.7322 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.7688, allocations: 6.562 kB / 0.7322 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.181e-05/0.7689, allocations: 80.28 kB / 0.7323 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.7689, allocations: 1.156 kB / 0.7323 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002109/0.7691, allocations: 15.5 kB / 0.7323 GB, free: 14.82 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 0.0001232/0.7692, allocations: 107.9 kB / 0.7324 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001611/0.7694, allocations: 63.91 kB / 0.7325 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.7694, allocations: 0 / 0.7325 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.036e-05/0.7694, allocations: 26.19 kB / 0.7325 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.7697, allocations: 12.19 kB / 0.7325 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006438/0.7703, allocations: 330.2 kB / 0.7328 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.7706, allocations: 0.6843 MB / 0.7335 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.227e-05/0.7706, allocations: 10.94 kB / 0.7335 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.239e-05/0.7707, allocations: 11.94 kB / 0.7335 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of SimCode: time 6.31e-07/0.7707, allocations: 1.156 kB / 0.7335 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of Templates: time 0.003188/0.7739, allocations: 0.6333 MB / 0.7341 GB, free: 13.65 MB / 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)