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.006506/0.006506, allocations: 101.3 kB / 15.88 MB, free: 6.332 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.001374/0.001374, allocations: 197.5 kB / 16.79 MB, free: 6.258 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.355/1.355, allocations: 222.9 MB / 240.5 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9035/0.9035, allocations: 135.1 MB / 425.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 63.64 kB / 0.5053 GB, free: 5.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1695, allocations: 80.92 MB / 0.5843 GB, free: 4.934 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002375/0.1719, allocations: 1.34 MB / 0.5856 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4741/0.6461, allocations: 144.7 MB / 0.7269 GB, free: 3.246 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.519e-05/0.6462, allocations: 0 / 0.7269 GB, free: 3.246 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.46e-05/0.6463, allocations: 1.641 kB / 0.7269 GB, free: 3.246 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.998e-05/0.6463, allocations: 9.719 kB / 0.7269 GB, free: 3.238 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.6467, allocations: 75.25 kB / 0.727 GB, free: 3.203 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.006e-05/0.6468, allocations: 37 kB / 0.7271 GB, free: 3.188 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.6469, allocations: 1.875 kB / 0.7271 GB, free: 3.188 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.07e-05/0.6469, allocations: 17.52 kB / 0.7271 GB, free: 3.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.752e-05/0.647, allocations: 17.84 kB / 0.7271 GB, free: 3.172 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.647, allocations: 1.25 kB / 0.7271 GB, free: 3.172 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003095/0.6473, allocations: 71.28 kB / 0.7272 GB, free: 3.145 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.6474, allocations: 12.36 kB / 0.7272 GB, free: 3.137 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.6474, allocations: 12.75 kB / 0.7272 GB, free: 3.133 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.6476, allocations: 50.52 kB / 0.7272 GB, free: 3.117 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6476, allocations: 0 / 0.7272 GB, free: 3.117 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.52e-07/0.6476, allocations: 0 / 0.7272 GB, free: 3.117 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.6476, allocations: 1.125 kB / 0.7272 GB, free: 3.117 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.0004652/0.648, allocations: 361.6 kB / 0.7276 GB, free: 2.742 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.6481, allocations: 8.969 kB / 0.7276 GB, free: 2.742 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000221/0.6483, allocations: 12.38 kB / 0.7276 GB, free: 2.742 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.6484, allocations: 166.8 kB / 0.7278 GB, free: 2.543 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.6485, allocations: 6.594 kB / 0.7278 GB, free: 2.539 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.6485, allocations: 7.938 kB / 0.7278 GB, free: 2.535 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.6486, allocations: 48.02 kB / 0.7278 GB, free: 2.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.6487, allocations: 0 / 0.7278 GB, free: 2.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.6487, allocations: 1.094 kB / 0.7278 GB, free: 2.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.6487, allocations: 5.125 kB / 0.7278 GB, free: 2.496 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.854e-05/0.6487, allocations: 16.83 kB / 0.7278 GB, free: 2.492 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.6489, allocations: 175.2 kB / 0.728 GB, free: 2.285 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.6491, allocations: 55.53 kB / 0.7281 GB, free: 2.246 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.188e-05/0.6491, allocations: 12.66 kB / 0.7281 GB, free: 2.238 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.6491, allocations: 1.094 kB / 0.7281 GB, free: 2.238 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.6492, allocations: 41.41 kB / 0.7281 GB, free: 2.191 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.6492, allocations: 0 / 0.7281 GB, free: 2.191 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0007937/0.65, allocations: 372.7 kB / 0.7285 GB, free: 1.891 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.65, allocations: 53.72 kB / 0.7285 GB, free: 1.828 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.919e-05/0.6501, allocations: 93.17 kB / 0.7286 GB, free: 1.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.6501, allocations: 31.02 kB / 0.7286 GB, free: 1.695 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.797e-05/0.6501, allocations: 84.27 kB / 0.7287 GB, free: 1.609 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.603e-05/0.6502, allocations: 39.7 kB / 0.7288 GB, free: 1.578 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.6503, allocations: 31.61 kB / 0.7288 GB, free: 1.551 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.6504, allocations: 323.9 kB / 0.7291 GB, free: 1.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.906e-05/0.6504, allocations: 16.72 kB / 0.7291 GB, free: 1.227 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.309e-05/0.6505, allocations: 35.48 kB / 0.7291 GB, free: 1.203 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.367e-05/0.6506, allocations: 54.58 kB / 0.7292 GB, free: 1.172 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.6506, allocations: 4 kB / 0.7292 GB, free: 1.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001396/0.6507, allocations: 94.08 kB / 0.7293 GB, free: 1.113 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.6507, allocations: 5.188 kB / 0.7293 GB, free: 1.113 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.6507, allocations: 3.547 kB / 0.7293 GB, free: 1.113 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.6508, allocations: 1.344 kB / 0.7293 GB, free: 1.113 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.6509, allocations: 24.3 kB / 0.7293 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.6509, allocations: 1.062 kB / 0.7293 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.284e-05/0.6509, allocations: 1.125 kB / 0.7293 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.651, allocations: 7.828 kB / 0.7293 GB, free: 1.105 MB / 0.545 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.636e-05/0.6511, allocations: 124.5 kB / 0.7295 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/0.6511, allocations: 11.25 kB / 0.7295 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/0.6511, allocations: 13.58 kB / 0.7295 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.6511, allocations: 1.75 kB / 0.7295 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6511, allocations: 0 / 0.7295 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6512, allocations: 3.75 kB / 0.7295 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.6513, allocations: 176.7 kB / 0.7296 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.6513, allocations: 0 / 0.7296 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.6514, allocations: 21.2 kB / 0.7297 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.6514, allocations: 1.5 kB / 0.7297 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.6515, allocations: 8.516 kB / 0.7297 GB, free: 0.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.6515, allocations: 1.438 kB / 0.7297 GB, free: 0.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6515, allocations: 4.5 kB / 0.7297 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.6517, allocations: 134.5 kB / 0.7298 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.291e-05/0.6518, allocations: 86.42 kB / 0.7299 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.6518, allocations: 0.9375 kB / 0.7299 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.371e-05/0.6519, allocations: 2.984 kB / 0.7299 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.6519, allocations: 14.44 kB / 0.7299 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.652, allocations: 3.516 kB / 0.7299 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.356e-05/0.652, allocations: 76.47 kB / 0.73 GB, free: 484 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.652, allocations: 0 / 0.73 GB, free: 484 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001989/0.6522, allocations: 16.44 kB / 0.73 GB, free: 480 kB / 0.545 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.0001139/0.6523, allocations: 105.5 kB / 0.7301 GB, free: 384 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001407/0.6525, allocations: 57.84 kB / 0.7302 GB, free: 372 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6525, allocations: 96 / 0.7302 GB, free: 372 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.787e-05/0.6525, allocations: 32.84 kB / 0.7302 GB, free: 360 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.6528, allocations: 15.33 kB / 0.7302 GB, free: 352 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000624/0.6534, allocations: 364.2 kB / 0.7306 GB, free: 44 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.6537, allocations: 0.6863 MB / 0.7312 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.6538, allocations: 13.12 kB / 0.7312 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.6538, allocations: 0 / 0.7312 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of Templates: time 0.002381/0.6562, allocations: 0.8185 MB / 0.732 GB, free: 15.29 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)