Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirDerivativeCheck") translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.009218/0.009218, allocations: 96.42 kB / 15.73 MB, free: 6.055 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.001495/0.001495, allocations: 194.7 kB / 16.67 MB, free: 5.973 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.832/0.832, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 57.91 kB / 0.5813 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1809, allocations: 80.2 MB / 0.6596 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002016/0.1829, allocations: 1.335 MB / 0.6609 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1686/0.3515, allocations: 148.1 MB / 0.8056 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.164e-05/0.3516, allocations: 4 kB / 0.8056 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.959e-05/0.3517, allocations: 0 / 0.8056 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.3519, allocations: 19.86 kB / 0.8056 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.3531, allocations: 318.6 kB / 0.8059 GB, free: 7.188 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.3533, allocations: 67.75 kB / 0.806 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.3534, allocations: 4 kB / 0.806 GB, free: 7.117 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 6.29e-05/0.3534, allocations: 31.91 kB / 0.806 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.3535, allocations: 31.89 kB / 0.806 GB, free: 7.055 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.3536, allocations: 4 kB / 0.806 GB, free: 7.051 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009889/0.3546, allocations: 406.8 kB / 0.8064 GB, free: 6.652 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 6.501e-05/0.3547, allocations: 23.91 kB / 0.8064 GB, free: 6.629 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.767e-05/0.3547, allocations: 15.94 kB / 0.8065 GB, free: 6.613 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004599/0.3552, allocations: 171.5 kB / 0.8066 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3552, allocations: 0 / 0.8066 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3552, allocations: 0 / 0.8066 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.3552, allocations: 0 / 0.8066 GB, free: 6.445 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.0006133/0.3558, allocations: 391 kB / 0.807 GB, free: 6.016 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.3559, allocations: 12.03 kB / 0.807 GB, free: 6.004 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004577/0.3564, allocations: 40.84 kB / 0.807 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.3565, allocations: 168.3 kB / 0.8072 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.3565, allocations: 11.94 kB / 0.8072 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.115e-05/0.3566, allocations: 8 kB / 0.8072 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.3568, allocations: 81.58 kB / 0.8073 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3568, allocations: 4 kB / 0.8073 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.3568, allocations: 0 / 0.8073 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.3568, allocations: 0 / 0.8073 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.3569, allocations: 47.95 kB / 0.8074 GB, free: 5.605 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002638/0.3572, allocations: 185.5 kB / 0.8075 GB, free: 5.375 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.3575, allocations: 98.61 kB / 0.8076 GB, free: 5.27 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.561e-05/0.3575, allocations: 33.17 kB / 0.8077 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003008/0.3578, allocations: 178.1 kB / 0.8078 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.3579, allocations: 38.56 kB / 0.8079 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=12): time 1.633e-06/0.3579, allocations: 0 / 0.8079 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19): time 0.001497/0.3594, allocations: 0.5464 MB / 0.8084 GB, free: 4.383 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.3595, allocations: 51.41 kB / 0.8084 GB, free: 4.32 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.889e-05/0.3596, allocations: 109.8 kB / 0.8086 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.3596, allocations: 29.7 kB / 0.8086 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.3596, allocations: 84.52 kB / 0.8087 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.098e-05/0.3597, allocations: 67.38 kB / 0.8087 GB, free: 4.016 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/0.3598, allocations: 45.7 kB / 0.8088 GB, free: 3.965 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3599, allocations: 322.8 kB / 0.8091 GB, free: 3.641 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.82e-05/0.36, allocations: 31.98 kB / 0.8091 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.236e-05/0.3601, allocations: 67.53 kB / 0.8092 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.3603, allocations: 119.3 kB / 0.8093 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3603, allocations: 0 / 0.8093 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002489/0.3606, allocations: 161.5 kB / 0.8094 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.3606, allocations: 8 kB / 0.8094 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.3606, allocations: 0 / 0.8094 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.3606, allocations: 3.984 kB / 0.8095 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.3608, allocations: 35.98 kB / 0.8095 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.3608, allocations: 7.938 kB / 0.8095 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.335e-05/0.3609, allocations: 15.92 kB / 0.8095 GB, free: 3.168 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.3609, allocations: 8 kB / 0.8095 GB, free: 3.16 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 9.743e-05/0.361, allocations: 117.8 kB / 0.8096 GB, free: 3.035 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.3611, allocations: 7.953 kB / 0.8096 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.474e-05/0.3611, allocations: 16.44 kB / 0.8097 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3611, allocations: 4 kB / 0.8097 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3611, allocations: 0 / 0.8097 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.3611, allocations: 7.922 kB / 0.8097 GB, free: 2.996 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.3613, allocations: 197.6 kB / 0.8099 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.3613, allocations: 0 / 0.8099 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.3615, allocations: 39.92 kB / 0.8099 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3616, allocations: 0 / 0.8099 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.3616, allocations: 4 kB / 0.8099 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3616, allocations: 3.938 kB / 0.8099 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3616, allocations: 0 / 0.8099 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.3619, allocations: 216.8 kB / 0.8101 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.741e-05/0.362, allocations: 93.11 kB / 0.8102 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.362, allocations: 4.25 kB / 0.8102 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.3622, allocations: 8 kB / 0.8102 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.3622, allocations: 19.92 kB / 0.8102 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.3622, allocations: 8 kB / 0.8102 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.795e-05/0.3623, allocations: 79.27 kB / 0.8103 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3623, allocations: 0 / 0.8103 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002393/0.3625, allocations: 32 kB / 0.8103 GB, free: 2.219 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.0001412/0.3627, allocations: 99.34 kB / 0.8104 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002331/0.3629, allocations: 111.8 kB / 0.8105 GB, free: 2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3629, allocations: 0 / 0.8105 GB, free: 2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.726e-05/0.363, allocations: 53.98 kB / 0.8106 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.3633, allocations: 15.98 kB / 0.8106 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008696/0.3642, allocations: 0.5008 MB / 0.8111 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.3645, allocations: 0.7047 MB / 0.8118 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001119/0.3646, allocations: 28.41 kB / 0.8118 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.315e-05/0.3647, allocations: 15.44 kB / 0.8118 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of SimCode: time 3.91e-07/0.3647, allocations: 0 / 0.8118 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of Templates: time 0.3572/0.7219, allocations: 1.121 MB / 0.8129 GB, free: 156.8 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1)