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.0009982/0.0009983, allocations: 98.88 kB / 16.02 MB, free: 76 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.001065/0.001065, allocations: 185.3 kB / 16.93 MB, free: 6.773 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.406/1.406, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9859/0.9859, allocations: 135.3 MB / 427.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003267, allocations: 8 kB / 0.5082 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1657, allocations: 82.31 MB / 0.5886 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001507/0.1673, allocations: 0.9977 MB / 0.5896 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4523/0.6196, allocations: 143.2 MB / 0.7294 GB, free: 3.355 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.35e-05/0.6197, allocations: 1.344 kB / 0.7294 GB, free: 3.355 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.415e-05/0.6197, allocations: 1.875 kB / 0.7294 GB, free: 3.355 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.616e-05/0.6198, allocations: 4.781 kB / 0.7294 GB, free: 3.352 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.6202, allocations: 75.34 kB / 0.7295 GB, free: 3.316 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.254e-05/0.6202, allocations: 40.31 kB / 0.7295 GB, free: 3.297 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.959e-05/0.6203, allocations: 7.391 kB / 0.7295 GB, free: 3.293 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.844e-05/0.6203, allocations: 12.86 kB / 0.7295 GB, free: 3.289 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.214e-05/0.6204, allocations: 12.31 kB / 0.7295 GB, free: 3.285 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.6204, allocations: 3.094 kB / 0.7295 GB, free: 3.285 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002646/0.6207, allocations: 75.31 kB / 0.7296 GB, free: 3.254 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.6207, allocations: 11.23 kB / 0.7296 GB, free: 3.246 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.6208, allocations: 42.02 kB / 0.7297 GB, free: 3.207 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.6209, allocations: 43.73 kB / 0.7297 GB, free: 3.199 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.6209, allocations: 0 / 0.7297 GB, free: 3.199 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6209, allocations: 0 / 0.7297 GB, free: 3.199 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.6209, allocations: 4 kB / 0.7297 GB, free: 3.195 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.0003592/0.6213, allocations: 343.8 kB / 0.73 GB, free: 2.832 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.6213, allocations: 8.906 kB / 0.73 GB, free: 2.832 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.6215, allocations: 12.2 kB / 0.7301 GB, free: 2.832 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.89e-05/0.6216, allocations: 164 kB / 0.7302 GB, free: 2.637 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.6217, allocations: 13.91 kB / 0.7302 GB, free: 2.625 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.6217, allocations: 3.156 kB / 0.7302 GB, free: 2.625 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.6218, allocations: 56.14 kB / 0.7303 GB, free: 2.582 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.6218, allocations: 0 / 0.7303 GB, free: 2.582 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.6219, allocations: 1.031 kB / 0.7303 GB, free: 2.582 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.6219, allocations: 1.031 kB / 0.7303 GB, free: 2.582 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.139e-05/0.6219, allocations: 17.55 kB / 0.7303 GB, free: 2.578 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.6221, allocations: 166.7 kB / 0.7305 GB, free: 2.379 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.77e-05/0.6222, allocations: 55.84 kB / 0.7305 GB, free: 2.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.52e-05/0.6222, allocations: 22.61 kB / 0.7305 GB, free: 2.324 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.6223, allocations: 4.844 kB / 0.7305 GB, free: 2.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.6223, allocations: 34.08 kB / 0.7306 GB, free: 2.281 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.6223, allocations: 0 / 0.7306 GB, free: 2.281 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0007281/0.623, allocations: 374 kB / 0.7309 GB, free: 1.977 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.6231, allocations: 53.08 kB / 0.731 GB, free: 1.914 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.024e-05/0.6231, allocations: 95.94 kB / 0.7311 GB, free: 1.812 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.6232, allocations: 27.72 kB / 0.7311 GB, free: 1.781 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.931e-05/0.6232, allocations: 85.2 kB / 0.7312 GB, free: 1.695 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.6232, allocations: 39.34 kB / 0.7312 GB, free: 1.664 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.6233, allocations: 18.84 kB / 0.7312 GB, free: 1.645 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.6234, allocations: 326.5 kB / 0.7315 GB, free: 1.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.545e-05/0.6234, allocations: 16.77 kB / 0.7316 GB, free: 1.316 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.03e-05/0.6235, allocations: 37.81 kB / 0.7316 GB, free: 1.293 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.491e-05/0.6236, allocations: 65.77 kB / 0.7317 GB, free: 1.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.6236, allocations: 0 / 0.7317 GB, free: 1.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000134/0.6237, allocations: 94.59 kB / 0.7317 GB, free: 1.195 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.6237, allocations: 5.578 kB / 0.7318 GB, free: 1.195 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.6237, allocations: 1.094 kB / 0.7318 GB, free: 1.195 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.6238, allocations: 5.078 kB / 0.7318 GB, free: 1.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.6239, allocations: 21.08 kB / 0.7318 GB, free: 1.191 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.6239, allocations: 5.125 kB / 0.7318 GB, free: 1.188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.679e-05/0.6239, allocations: 5.625 kB / 0.7318 GB, free: 1.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.624, allocations: 7.188 kB / 0.7318 GB, free: 1.18 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.106e-05/0.624, allocations: 121.4 kB / 0.7319 GB, free: 1.055 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.598e-05/0.6241, allocations: 7.25 kB / 0.7319 GB, free: 1.051 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.6241, allocations: 16.66 kB / 0.7319 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.6241, allocations: 1.469 kB / 0.7319 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.6241, allocations: 1.688 kB / 0.7319 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.6241, allocations: 0.6562 kB / 0.7319 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.6243, allocations: 170.6 kB / 0.7321 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6243, allocations: 0 / 0.7321 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.6244, allocations: 25.48 kB / 0.7321 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.6244, allocations: 1.781 kB / 0.7321 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.6244, allocations: 4 kB / 0.7321 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.6244, allocations: 1.594 kB / 0.7321 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6244, allocations: 8.781 kB / 0.7321 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.6246, allocations: 125.6 kB / 0.7323 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.6247, allocations: 94.7 kB / 0.7323 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.6247, allocations: 1.984 kB / 0.7324 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.163e-05/0.6248, allocations: 6.922 kB / 0.7324 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.351e-05/0.6249, allocations: 6.922 kB / 0.7324 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.6249, allocations: 6.859 kB / 0.7324 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.76e-05/0.6249, allocations: 76.31 kB / 0.7324 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6249, allocations: 0 / 0.7324 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001968/0.6251, allocations: 17 kB / 0.7325 GB, free: 0.5508 MB / 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.0001066/0.6252, allocations: 105.1 kB / 0.7326 GB, free: 468 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.6254, allocations: 56.56 kB / 0.7326 GB, free: 452 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6254, allocations: 1.125 kB / 0.7326 GB, free: 452 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.163e-05/0.6254, allocations: 29.47 kB / 0.7326 GB, free: 444 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.6256, allocations: 8.172 kB / 0.7327 GB, free: 440 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006234/0.6263, allocations: 415.9 kB / 0.733 GB, free: 108 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.6265, allocations: 0.6854 MB / 0.7337 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.6266, allocations: 13.12 kB / 0.7337 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/0.6266, allocations: 0 / 0.7337 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.002605/0.6292, allocations: 0.8203 MB / 0.7345 GB, free: 15.35 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)