Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Average.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8572/0.8572, allocations: 130.7 MB / 138.7 MB, free: 3.578 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 221.5 MB / 391.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000871/0.0008709, allocations: 94.3 kB / 473.9 MB, free: 4.461 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.896e-05/1.91e-05, allocations: 4 kB / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4012, allocations: 81.57 MB / 0.6282 GB, free: 42.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1375/0.5388, allocations: 110.5 MB / 0.7361 GB, free: 208 kB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/0.539, allocations: 67.97 kB / 0.7362 GB, free: 140 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003257/0.5423, allocations: 1.129 MB / 0.7373 GB, free: 15 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5423, allocations: 4 kB / 0.7373 GB, free: 15 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.5423, allocations: 0 / 0.7373 GB, free: 15 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004078/0.5428, allocations: 373.7 kB / 0.7376 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.5428, allocations: 12.03 kB / 0.7377 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.5428, allocations: 11.89 kB / 0.7377 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.543, allocations: 180.2 kB / 0.7378 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.543, allocations: 0 / 0.7378 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.543, allocations: 7.938 kB / 0.7379 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.852e-05/0.5431, allocations: 35.92 kB / 0.7379 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.926e-05/0.5433, allocations: 53.69 kB / 0.7379 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.5433, allocations: 4 kB / 0.7379 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.5433, allocations: 3.984 kB / 0.7379 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.5433, allocations: 0 / 0.7379 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.5438, allocations: 325.2 kB / 0.7383 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.768e-05/0.5439, allocations: 35.59 kB / 0.7383 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.603e-05/0.5439, allocations: 12.86 kB / 0.7383 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.5439, allocations: 8 kB / 0.7383 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.544, allocations: 30.56 kB / 0.7383 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.544, allocations: 0 / 0.7383 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0001953/0.5442, allocations: 65.72 kB / 0.7384 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.5442, allocations: 59.36 kB / 0.7385 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.664e-05/0.5443, allocations: 102.3 kB / 0.7386 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.5443, allocations: 25.7 kB / 0.7386 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.5444, allocations: 92.12 kB / 0.7387 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.5444, allocations: 15.75 kB / 0.7387 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-06/0.5444, allocations: 3.938 kB / 0.7387 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.596e-05/0.5445, allocations: 314.8 kB / 0.739 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.569e-05/0.5445, allocations: 12 kB / 0.739 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.39e-05/0.5446, allocations: 15.98 kB / 0.739 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.898e-05/0.5446, allocations: 12 kB / 0.739 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5446, allocations: 0 / 0.739 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001106/0.5447, allocations: 57.67 kB / 0.7391 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.5448, allocations: 4 kB / 0.7391 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.5448, allocations: 4 kB / 0.7391 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.5448, allocations: 0 / 0.7391 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.5449, allocations: 27.92 kB / 0.7391 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.545, allocations: 0 / 0.7391 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.057e-05/0.5451, allocations: 19.94 kB / 0.7391 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.5451, allocations: 0 / 0.7391 GB, free: 12.92 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.798e-05/0.5451, allocations: 108.9 kB / 0.7392 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.5452, allocations: 7.906 kB / 0.7392 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.5453, allocations: 70.02 kB / 0.7393 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.5453, allocations: 0 / 0.7393 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5454, allocations: 4 kB / 0.7393 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.5454, allocations: 0 / 0.7393 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.5455, allocations: 154.2 kB / 0.7395 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5455, allocations: 0 / 0.7395 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.5456, allocations: 19.98 kB / 0.7395 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.5456, allocations: 0 / 0.7395 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.5457, allocations: 4 kB / 0.7395 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.5457, allocations: 7.938 kB / 0.7395 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.5457, allocations: 0 / 0.7395 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.5458, allocations: 159.6 kB / 0.7396 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.5459, allocations: 77.11 kB / 0.7397 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.5459, allocations: 0 / 0.7397 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.546, allocations: 20.03 kB / 0.7397 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.5461, allocations: 11.97 kB / 0.7397 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.5461, allocations: 0 / 0.7397 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.839e-05/0.5461, allocations: 93.25 kB / 0.7398 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5461, allocations: 0 / 0.7398 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002122/0.5463, allocations: 11.91 kB / 0.7398 GB, free: 12.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001234/0.5465, allocations: 104.8 kB / 0.7399 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.973e-05/0.5466, allocations: 27.94 kB / 0.74 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5466, allocations: 4 kB / 0.74 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.188e-05/0.5466, allocations: 19.98 kB / 0.74 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.5468, allocations: 14 kB / 0.74 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00023/0.547, allocations: 91.98 kB / 0.7401 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.5472, allocations: 0.6885 MB / 0.7408 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.321e-05/0.5473, allocations: 11.98 kB / 0.7408 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.5473, allocations: 15.44 kB / 0.7408 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of SimCode: time 3.21e-07/0.5473, allocations: 0 / 0.7408 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of Templates: time 0.0022/0.5495, allocations: 0.5474 MB / 0.7413 GB, free: 10.53 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Average.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Average.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1)