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.001331/0.001331, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001187/0.001187, allocations: 183 kB / 17.34 MB, free: 5.766 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7726/0.7726, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 58.59 kB / 0.582 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1499, allocations: 80.22 MB / 0.6603 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.00232/0.1523, allocations: 1.327 MB / 0.6616 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.536/0.6882, allocations: 148.1 MB / 0.8062 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.537e-05/0.6884, allocations: 0 / 0.8062 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.305e-05/0.6884, allocations: 4.172 kB / 0.8062 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.6886, allocations: 18.89 kB / 0.8062 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.6898, allocations: 325.8 kB / 0.8066 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.69, allocations: 67.27 kB / 0.8066 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.69, allocations: 6.219 kB / 0.8066 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 6.263e-05/0.6901, allocations: 29.66 kB / 0.8067 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.6902, allocations: 34.61 kB / 0.8067 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.6902, allocations: 3.656 kB / 0.8067 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009874/0.6912, allocations: 412.6 kB / 0.8071 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.65e-05/0.6913, allocations: 14.28 kB / 0.8071 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.6914, allocations: 32.33 kB / 0.8071 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004345/0.6918, allocations: 159.7 kB / 0.8073 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6918, allocations: 0 / 0.8073 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.989e-06/0.6918, allocations: 0 / 0.8073 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.6918, allocations: 7.875 kB / 0.8073 GB, free: 11.71 MB / 0.5919 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.0006959/0.6925, allocations: 382.8 kB / 0.8077 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.6926, allocations: 12.56 kB / 0.8077 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004548/0.6931, allocations: 35.55 kB / 0.8077 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.6932, allocations: 165.7 kB / 0.8079 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.6932, allocations: 10.88 kB / 0.8079 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.6933, allocations: 13 kB / 0.8079 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.6935, allocations: 75.56 kB / 0.808 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.6935, allocations: 2.438 kB / 0.808 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.6935, allocations: 7.625 kB / 0.808 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.6935, allocations: 2 kB / 0.808 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.6936, allocations: 55.56 kB / 0.808 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.6938, allocations: 181.2 kB / 0.8082 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.6941, allocations: 91.8 kB / 0.8083 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.169e-05/0.6941, allocations: 31.62 kB / 0.8083 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/0.6944, allocations: 179.4 kB / 0.8085 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.6944, allocations: 37.03 kB / 0.8085 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 4.308e-06/0.6944, allocations: 3.984 kB / 0.8085 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001373/0.6958, allocations: 0.5489 MB / 0.8091 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.6958, allocations: 55.78 kB / 0.8091 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.794e-05/0.6959, allocations: 95.25 kB / 0.8092 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.696, allocations: 30.23 kB / 0.8092 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.195e-05/0.696, allocations: 84.98 kB / 0.8093 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.374e-05/0.6961, allocations: 63.67 kB / 0.8094 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.6961, allocations: 40.5 kB / 0.8094 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.6963, allocations: 327.5 kB / 0.8097 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.205e-05/0.6963, allocations: 34.88 kB / 0.8098 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.346e-05/0.6964, allocations: 73.44 kB / 0.8098 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.6966, allocations: 117.6 kB / 0.8099 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.6966, allocations: 2.75 kB / 0.8099 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002121/0.6968, allocations: 151.1 kB / 0.8101 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.6968, allocations: 9.406 kB / 0.8101 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.6968, allocations: 4.188 kB / 0.8101 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.6969, allocations: 0 / 0.8101 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.697, allocations: 43.33 kB / 0.8101 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.697, allocations: 2.562 kB / 0.8101 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.057e-05/0.6971, allocations: 10.34 kB / 0.8101 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.6971, allocations: 9.562 kB / 0.8102 GB, free: 9.574 MB / 0.5919 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 0.0001015/0.6972, allocations: 125.5 kB / 0.8103 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.6973, allocations: 9 kB / 0.8103 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.331e-05/0.6973, allocations: 23.94 kB / 0.8103 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.6973, allocations: 3.156 kB / 0.8103 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.6973, allocations: 0 / 0.8103 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.6973, allocations: 3.938 kB / 0.8103 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.6975, allocations: 189.7 kB / 0.8105 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.6975, allocations: 3.312 kB / 0.8105 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.6977, allocations: 35.97 kB / 0.8105 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.6977, allocations: 2.719 kB / 0.8105 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.6977, allocations: 0 / 0.8105 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.6978, allocations: 1.625 kB / 0.8105 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6978, allocations: 2.75 kB / 0.8105 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.6981, allocations: 222.2 kB / 0.8108 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.663e-05/0.6982, allocations: 92.45 kB / 0.8108 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.6982, allocations: 3.562 kB / 0.8108 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.6983, allocations: 11.28 kB / 0.8109 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.6984, allocations: 9.25 kB / 0.8109 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.6984, allocations: 10.38 kB / 0.8109 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.17e-05/0.6984, allocations: 84.7 kB / 0.811 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6984, allocations: 0 / 0.811 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002308/0.6987, allocations: 24 kB / 0.811 GB, free: 8.977 MB / 0.5919 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.0001458/0.6988, allocations: 110.7 kB / 0.8111 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.699, allocations: 110.5 kB / 0.8112 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.699, allocations: 0 / 0.8112 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.929e-05/0.6991, allocations: 53.55 kB / 0.8112 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.6994, allocations: 20 kB / 0.8113 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008193/0.7002, allocations: 0.5216 MB / 0.8118 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.7005, allocations: 0.6966 MB / 0.8124 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.7006, allocations: 23.03 kB / 0.8125 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/0.7006, allocations: 0 / 0.8125 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of Templates: time 0.003221/0.7038, allocations: 1.301 MB / 0.8137 GB, free: 7.637 MB / 0.5919 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)