Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001313/0.001313, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00133/0.00133, allocations: 194.5 kB / 16.25 MB, free: 6.621 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: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7476/0.7476, allocations: 132.2 MB / 422.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 64.83 kB / 0.5013 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4942/0.4954, allocations: 80.21 MB / 0.5796 GB, free: 4.777 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002404/0.4979, allocations: 1.329 MB / 0.5809 GB, free: 3.844 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1804/0.6783, allocations: 144.8 MB / 0.7224 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.046e-05/0.6785, allocations: 0 / 0.7224 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.6785, allocations: 7.922 kB / 0.7224 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.766e-05/0.6786, allocations: 3.938 kB / 0.7224 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004936/0.6791, allocations: 87.69 kB / 0.7225 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.784e-05/0.6792, allocations: 39.84 kB / 0.7225 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.589e-05/0.6792, allocations: 3.984 kB / 0.7225 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.022e-05/0.6793, allocations: 15.94 kB / 0.7225 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.886e-05/0.6793, allocations: 11.98 kB / 0.7225 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.6793, allocations: 0 / 0.7225 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002627/0.6796, allocations: 83.81 kB / 0.7226 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.204e-05/0.6796, allocations: 3.938 kB / 0.7226 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.6797, allocations: 19.92 kB / 0.7226 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.6798, allocations: 62.05 kB / 0.7227 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.6799, allocations: 0 / 0.7227 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6799, allocations: 7.938 kB / 0.7227 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.6799, allocations: 0 / 0.7227 GB, free: 14.82 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.0004407/0.6803, allocations: 355.4 kB / 0.723 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.6804, allocations: 8.031 kB / 0.723 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001929/0.6806, allocations: 12.94 kB / 0.723 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.6807, allocations: 164.3 kB / 0.7232 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.6807, allocations: 7.938 kB / 0.7232 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/0.6807, allocations: 11.98 kB / 0.7232 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.6809, allocations: 49.69 kB / 0.7233 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.6809, allocations: 0 / 0.7233 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.6809, allocations: 4 kB / 0.7233 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.6809, allocations: 0 / 0.7233 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.651e-05/0.681, allocations: 11.98 kB / 0.7233 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.6812, allocations: 177.4 kB / 0.7235 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.577e-05/0.6813, allocations: 50.58 kB / 0.7235 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/0.6813, allocations: 21.02 kB / 0.7235 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.6813, allocations: 3.984 kB / 0.7235 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.6813, allocations: 34.56 kB / 0.7236 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.6814, allocations: 0 / 0.7236 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0007735/0.6821, allocations: 362.7 kB / 0.7239 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.6822, allocations: 51.41 kB / 0.724 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.449e-05/0.6823, allocations: 101.9 kB / 0.7241 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.6823, allocations: 25.7 kB / 0.7241 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.862e-05/0.6823, allocations: 84.08 kB / 0.7242 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.265e-05/0.6824, allocations: 51.28 kB / 0.7242 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.6824, allocations: 29.7 kB / 0.7242 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.6825, allocations: 318.8 kB / 0.7245 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.412e-05/0.6826, allocations: 15.98 kB / 0.7246 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.424e-05/0.6826, allocations: 41.83 kB / 0.7246 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.86e-05/0.6827, allocations: 65.64 kB / 0.7247 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.6828, allocations: 0 / 0.7247 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001257/0.6829, allocations: 93.61 kB / 0.7247 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.6829, allocations: 7.984 kB / 0.7248 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.6829, allocations: 0 / 0.7248 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.6829, allocations: 0 / 0.7248 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.6831, allocations: 20 kB / 0.7248 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/0.6831, allocations: 3.938 kB / 0.7248 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.6831, allocations: 8 kB / 0.7248 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.6831, allocations: 4 kB / 0.7248 GB, free: 12.39 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 9.511e-05/0.6832, allocations: 123.3 kB / 0.7249 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.6832, allocations: 7.906 kB / 0.7249 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.437e-05/0.6833, allocations: 7.969 kB / 0.7249 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.6833, allocations: 0 / 0.7249 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6833, allocations: 0 / 0.7249 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.6833, allocations: 0 / 0.7249 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.6834, allocations: 177.6 kB / 0.7251 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.6835, allocations: 4 kB / 0.7251 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.6836, allocations: 27.92 kB / 0.7251 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6836, allocations: 0 / 0.7251 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.6836, allocations: 4 kB / 0.7251 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.6836, allocations: 3.938 kB / 0.7251 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.6836, allocations: 0 / 0.7251 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.6838, allocations: 132.9 kB / 0.7253 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.163e-05/0.6839, allocations: 89.05 kB / 0.7253 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.6839, allocations: 4.094 kB / 0.7253 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.822e-05/0.684, allocations: 8 kB / 0.7254 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/0.6841, allocations: 11.97 kB / 0.7254 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.6841, allocations: 0 / 0.7254 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.59e-05/0.6841, allocations: 79.28 kB / 0.7254 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6841, allocations: 7.938 kB / 0.7254 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002009/0.6843, allocations: 15.94 kB / 0.7255 GB, free: 11.61 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.0001038/0.6844, allocations: 106 kB / 0.7256 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001492/0.6846, allocations: 67.91 kB / 0.7256 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.6846, allocations: 0 / 0.7256 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.442e-05/0.6846, allocations: 24 kB / 0.7257 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.6849, allocations: 11.98 kB / 0.7257 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006016/0.6855, allocations: 332.8 kB / 0.726 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.6858, allocations: 0.6846 MB / 0.7266 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.736e-05/0.6858, allocations: 12.66 kB / 0.7267 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.6859, allocations: 15.38 kB / 0.7267 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.6859, allocations: 4 kB / 0.7267 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of Templates: time 0.002724/0.6886, allocations: 0.6274 MB / 0.7273 GB, free: 9.684 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)