Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.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.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck") translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006096/0.006096, allocations: 100.4 kB / 15.73 MB, free: 6.035 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.001149/0.001149, allocations: 186.1 kB / 16.67 MB, free: 5.969 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9121/0.9121, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.91 kB / 0.5856 GB, free: 3.375 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4994/0.5007, allocations: 80.92 MB / 0.6646 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002301/0.503, allocations: 1.334 MB / 0.6659 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1686/0.6717, allocations: 148.1 MB / 0.8105 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.165e-05/0.6718, allocations: 0 / 0.8105 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.992e-05/0.6718, allocations: 3.938 kB / 0.8105 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.672, allocations: 23.84 kB / 0.8106 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.6731, allocations: 342.6 kB / 0.8109 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.6732, allocations: 63.77 kB / 0.811 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.6733, allocations: 8 kB / 0.811 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.709e-05/0.6733, allocations: 27.97 kB / 0.811 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.6734, allocations: 35.83 kB / 0.811 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.6734, allocations: 4 kB / 0.811 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000824/0.6743, allocations: 410.8 kB / 0.8114 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.592e-05/0.6743, allocations: 11.98 kB / 0.8114 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.769e-05/0.6744, allocations: 35.84 kB / 0.8115 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003173/0.6747, allocations: 153.3 kB / 0.8116 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6747, allocations: 4 kB / 0.8116 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6747, allocations: 0 / 0.8116 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.6747, allocations: 4 kB / 0.8116 GB, free: 10.58 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005144/0.6753, allocations: 395.4 kB / 0.812 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.6753, allocations: 8.031 kB / 0.812 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004011/0.6757, allocations: 32.81 kB / 0.812 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.6758, allocations: 168.4 kB / 0.8122 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.6759, allocations: 7.938 kB / 0.8122 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.772e-05/0.6759, allocations: 12 kB / 0.8122 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.6761, allocations: 73.66 kB / 0.8123 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.6761, allocations: 3.938 kB / 0.8123 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.6761, allocations: 7.984 kB / 0.8123 GB, free: 9.793 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.6761, allocations: 4 kB / 0.8123 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.292e-05/0.6762, allocations: 39.97 kB / 0.8123 GB, free: 9.75 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/0.6765, allocations: 197.4 kB / 0.8125 GB, free: 9.508 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.6767, allocations: 94.67 kB / 0.8126 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.323e-05/0.6767, allocations: 32.78 kB / 0.8126 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002594/0.677, allocations: 178.2 kB / 0.8128 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.677, allocations: 30.56 kB / 0.8128 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.6771, allocations: 0 / 0.8128 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19): time 0.001336/0.6784, allocations: 0.5496 MB / 0.8134 GB, free: 8.52 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.6784, allocations: 55.41 kB / 0.8134 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.63e-05/0.6785, allocations: 93.8 kB / 0.8135 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.6785, allocations: 33.7 kB / 0.8136 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/0.6786, allocations: 84.64 kB / 0.8136 GB, free: 8.227 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.6787, allocations: 74.98 kB / 0.8137 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.277e-05/0.6787, allocations: 41.64 kB / 0.8137 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.6788, allocations: 318.8 kB / 0.8141 GB, free: 7.785 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.01e-05/0.6789, allocations: 35.97 kB / 0.8141 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.292e-05/0.679, allocations: 71.41 kB / 0.8142 GB, free: 7.668 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.6791, allocations: 115.4 kB / 0.8143 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.6791, allocations: 7.938 kB / 0.8143 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002011/0.6794, allocations: 157.5 kB / 0.8144 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.6794, allocations: 4 kB / 0.8144 GB, free: 7.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.6794, allocations: 0 / 0.8144 GB, free: 7.371 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.6794, allocations: 4 kB / 0.8144 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.6796, allocations: 43.92 kB / 0.8145 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.6796, allocations: 0 / 0.8145 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.223e-05/0.6796, allocations: 11.94 kB / 0.8145 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.6797, allocations: 8 kB / 0.8145 GB, free: 7.305 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.123e-05/0.6797, allocations: 129.7 kB / 0.8146 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.6798, allocations: 7.906 kB / 0.8146 GB, free: 7.16 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.639e-05/0.6798, allocations: 20.44 kB / 0.8146 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.6798, allocations: 0 / 0.8146 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6798, allocations: 0 / 0.8146 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.6799, allocations: 3.938 kB / 0.8146 GB, free: 7.133 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.68, allocations: 193.6 kB / 0.8148 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.68, allocations: 0 / 0.8148 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.6802, allocations: 43.98 kB / 0.8149 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.6802, allocations: 0 / 0.8149 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.6802, allocations: 4 kB / 0.8149 GB, free: 6.848 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.6802, allocations: 4.109 kB / 0.8149 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.6802, allocations: 4 kB / 0.8149 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.6806, allocations: 210.9 kB / 0.8151 GB, free: 6.617 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.882e-05/0.6806, allocations: 89 kB / 0.8152 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.6807, allocations: 8.062 kB / 0.8152 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.6808, allocations: 15.98 kB / 0.8152 GB, free: 6.488 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.6808, allocations: 11.92 kB / 0.8152 GB, free: 6.477 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.6808, allocations: 4 kB / 0.8152 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.843e-05/0.6809, allocations: 83.28 kB / 0.8153 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6809, allocations: 0 / 0.8153 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002077/0.6811, allocations: 24 kB / 0.8153 GB, free: 6.367 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0001333/0.6812, allocations: 112.6 kB / 0.8154 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001941/0.6814, allocations: 103.8 kB / 0.8155 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.6814, allocations: 0 / 0.8155 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.702e-05/0.6815, allocations: 58.14 kB / 0.8156 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.6818, allocations: 16 kB / 0.8156 GB, free: 6.074 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007334/0.6825, allocations: 0.4975 MB / 0.8161 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.6828, allocations: 0.7008 MB / 0.8168 GB, free: 4.824 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 9.337e-05/0.6829, allocations: 28.56 kB / 0.8168 GB, free: 4.797 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.6829, allocations: 19.44 kB / 0.8168 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of SimCode: time 1.373e-06/0.6829, allocations: 0 / 0.8168 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of Templates: time 0.003532/0.6865, allocations: 1.124 MB / 0.8179 GB, free: 3.656 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1)