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.007042/0.007042, allocations: 104.3 kB / 15.74 MB, free: 6.441 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.001253/0.001253, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8382/0.8382, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.12 kB / 0.5813 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1822, allocations: 80.22 MB / 0.6597 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002127/0.1843, allocations: 1.327 MB / 0.6609 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1597/0.3441, allocations: 148.1 MB / 0.8056 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.783e-05/0.3442, allocations: 0 / 0.8056 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.835e-05/0.3442, allocations: 7.922 kB / 0.8056 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 9.555e-05/0.3443, allocations: 15.91 kB / 0.8056 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009435/0.3453, allocations: 338.6 kB / 0.8059 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.625e-05/0.3454, allocations: 63.83 kB / 0.806 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.725e-05/0.3454, allocations: 11.86 kB / 0.806 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.346e-05/0.3455, allocations: 23.98 kB / 0.806 GB, free: 7.043 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.824e-05/0.3456, allocations: 35.83 kB / 0.806 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.3456, allocations: 8 kB / 0.806 GB, free: 7 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007751/0.3464, allocations: 414.8 kB / 0.8064 GB, free: 6.594 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.825e-05/0.3465, allocations: 11.98 kB / 0.8065 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.479e-05/0.3465, allocations: 31.86 kB / 0.8065 GB, free: 6.551 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.3468, allocations: 159.6 kB / 0.8066 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3468, allocations: 0 / 0.8066 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3468, allocations: 0 / 0.8066 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3469, allocations: 0 / 0.8066 GB, free: 6.395 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.0004477/0.3473, allocations: 393.8 kB / 0.807 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.3473, allocations: 8.031 kB / 0.807 GB, free: 5.957 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004045/0.3478, allocations: 40.78 kB / 0.8071 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.3479, allocations: 168.3 kB / 0.8072 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.3479, allocations: 19.92 kB / 0.8072 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.3479, allocations: 11.91 kB / 0.8073 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.3481, allocations: 81.58 kB / 0.8073 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.3481, allocations: 0 / 0.8073 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.3481, allocations: 4 kB / 0.8073 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.3481, allocations: 4 kB / 0.8073 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.3483, allocations: 43.95 kB / 0.8074 GB, free: 5.547 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.3485, allocations: 181.6 kB / 0.8076 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.3487, allocations: 94.67 kB / 0.8076 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.289e-05/0.3487, allocations: 32.84 kB / 0.8077 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002244/0.349, allocations: 178.2 kB / 0.8078 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.349, allocations: 38.55 kB / 0.8079 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.349, allocations: 0 / 0.8079 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19): time 0.001283/0.3503, allocations: 0.5445 MB / 0.8084 GB, free: 4.332 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.3503, allocations: 55.41 kB / 0.8085 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.805e-05/0.3504, allocations: 101.8 kB / 0.8086 GB, free: 4.156 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.3504, allocations: 33.64 kB / 0.8086 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 2.76e-05/0.3505, allocations: 84.52 kB / 0.8087 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.603e-05/0.3505, allocations: 63.02 kB / 0.8087 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.415e-05/0.3506, allocations: 45.83 kB / 0.8088 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.3507, allocations: 318.8 kB / 0.8091 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.154e-05/0.3508, allocations: 31.98 kB / 0.8091 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.265e-05/0.3508, allocations: 71.41 kB / 0.8092 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.351, allocations: 115.3 kB / 0.8093 GB, free: 3.359 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.351, allocations: 3.984 kB / 0.8093 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002177/0.3512, allocations: 153.5 kB / 0.8094 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.3513, allocations: 4 kB / 0.8094 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3513, allocations: 3.938 kB / 0.8094 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3513, allocations: 4 kB / 0.8095 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.3515, allocations: 39.92 kB / 0.8095 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.3515, allocations: 4.109 kB / 0.8095 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.026e-05/0.3516, allocations: 15.94 kB / 0.8095 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.3516, allocations: 4 kB / 0.8095 GB, free: 3.125 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.637e-05/0.3517, allocations: 121.8 kB / 0.8096 GB, free: 2.996 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.3517, allocations: 15.91 kB / 0.8096 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.038e-05/0.3518, allocations: 16.44 kB / 0.8097 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3518, allocations: 0 / 0.8097 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3518, allocations: 0 / 0.8097 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.3518, allocations: 7.922 kB / 0.8097 GB, free: 2.953 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.3519, allocations: 193.6 kB / 0.8099 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.352, allocations: 0 / 0.8099 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.3522, allocations: 39.98 kB / 0.8099 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3522, allocations: 0 / 0.8099 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.3522, allocations: 7.938 kB / 0.8099 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.3522, allocations: 8.094 kB / 0.8099 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3522, allocations: 0 / 0.8099 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.3525, allocations: 214.9 kB / 0.8101 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.728e-05/0.3526, allocations: 93 kB / 0.8102 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.3526, allocations: 4.062 kB / 0.8102 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.3527, allocations: 8 kB / 0.8102 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.3528, allocations: 11.92 kB / 0.8102 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.3528, allocations: 8 kB / 0.8102 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.22e-05/0.3528, allocations: 83.28 kB / 0.8103 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3528, allocations: 0 / 0.8103 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002282/0.3531, allocations: 24 kB / 0.8103 GB, free: 2.191 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.0001507/0.3532, allocations: 111.2 kB / 0.8104 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.3535, allocations: 107.8 kB / 0.8105 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.3535, allocations: 4.094 kB / 0.8105 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.456e-05/0.3536, allocations: 51.92 kB / 0.8106 GB, free: 1.91 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.3538, allocations: 19.98 kB / 0.8106 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000822/0.3547, allocations: 0.4974 MB / 0.8111 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.355, allocations: 0.7008 MB / 0.8118 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.3551, allocations: 24.58 kB / 0.8118 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.3551, allocations: 15.44 kB / 0.8118 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of SimCode: time 2.31e-07/0.3551, allocations: 0 / 0.8118 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of Templates: time 0.3838/0.7389, allocations: 1.124 MB / 0.8129 GB, free: 156 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)