Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.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.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007378/0.007378, allocations: 102.1 kB / 15.73 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.001563/0.001563, allocations: 196.4 kB / 16.68 MB, free: 6.375 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9435/0.9435, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 63.91 kB / 0.5856 GB, free: 3.336 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4386, allocations: 80.92 MB / 0.6646 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002315/0.4409, allocations: 1.531 MB / 0.6661 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000293/0.4412, allocations: 120.8 kB / 0.6663 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.07e-05/0.4413, allocations: 1.438 kB / 0.6663 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.4414, allocations: 7.922 kB / 0.6663 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.797e-05/0.4415, allocations: 5.188 kB / 0.6663 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.4417, allocations: 27.62 kB / 0.6663 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.683e-05/0.4418, allocations: 62.44 kB / 0.6664 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.4419, allocations: 25.75 kB / 0.6664 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.547e-05/0.442, allocations: 24.73 kB / 0.6664 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.452e-05/0.442, allocations: 25.88 kB / 0.6664 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.4421, allocations: 3.719 kB / 0.6664 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.935e-05/0.4421, allocations: 19.39 kB / 0.6665 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.444e-05/0.4422, allocations: 12.72 kB / 0.6665 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.4422, allocations: 25.52 kB / 0.6665 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.4423, allocations: 60.8 kB / 0.6665 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4423, allocations: 0 / 0.6665 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4423, allocations: 0 / 0.6665 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.4424, allocations: 0 / 0.6665 GB, free: 6.09 MB / 0.4981 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.0004517/0.4428, allocations: 384.2 kB / 0.6669 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.4429, allocations: 13.03 kB / 0.6669 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.4429, allocations: 4.562 kB / 0.6669 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.443, allocations: 194.3 kB / 0.6671 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.443, allocations: 5.594 kB / 0.6671 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.4431, allocations: 6.625 kB / 0.6671 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.4433, allocations: 80.48 kB / 0.6672 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.4433, allocations: 1.625 kB / 0.6672 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.4433, allocations: 7.938 kB / 0.6672 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.016e-06/0.4434, allocations: 5.188 kB / 0.6672 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002689/0.4436, allocations: 77.06 kB / 0.6673 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.4441, allocations: 331.4 kB / 0.6676 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.4442, allocations: 62.56 kB / 0.6677 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.4444, allocations: 40.98 kB / 0.6677 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/0.4444, allocations: 5.203 kB / 0.6677 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.4445, allocations: 31.69 kB / 0.6677 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.4445, allocations: 5.344 kB / 0.6677 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004705/0.4449, allocations: 137.4 kB / 0.6679 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.445, allocations: 52.84 kB / 0.6679 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.207e-05/0.4451, allocations: 110.8 kB / 0.668 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.148e-06/0.4451, allocations: 29.64 kB / 0.6681 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.4451, allocations: 99 kB / 0.6682 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.4451, allocations: 14.38 kB / 0.6682 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.4452, allocations: 12.12 kB / 0.6682 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.604e-05/0.4452, allocations: 323.9 kB / 0.6685 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.4453, allocations: 35.44 kB / 0.6685 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.4455, allocations: 38.48 kB / 0.6686 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.4457, allocations: 73.81 kB / 0.6686 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.4457, allocations: 0 / 0.6686 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002679/0.446, allocations: 100.8 kB / 0.6687 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.446, allocations: 9.312 kB / 0.6687 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.446, allocations: 5.328 kB / 0.6687 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.446, allocations: 0 / 0.6687 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.4461, allocations: 14.95 kB / 0.6688 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.4462, allocations: 3.938 kB / 0.6688 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.534e-05/0.4462, allocations: 10.64 kB / 0.6688 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.4463, allocations: 1.438 kB / 0.6688 GB, free: 4.027 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.473e-05/0.4463, allocations: 125.8 kB / 0.6689 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.4463, allocations: 6.375 kB / 0.6689 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003057/0.4467, allocations: 107.7 kB / 0.669 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4467, allocations: 5.406 kB / 0.669 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4467, allocations: 7.984 kB / 0.669 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.4467, allocations: 1.375 kB / 0.669 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.4468, allocations: 181.3 kB / 0.6692 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4468, allocations: 5.281 kB / 0.6692 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.251e-05/0.4469, allocations: 13.52 kB / 0.6692 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4469, allocations: 1.281 kB / 0.6692 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.4469, allocations: 0 / 0.6692 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4469, allocations: 5.25 kB / 0.6692 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4469, allocations: 0 / 0.6692 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.4472, allocations: 207.7 kB / 0.6694 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.734e-05/0.4472, allocations: 78.45 kB / 0.6695 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.4473, allocations: 0 / 0.6695 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.202e-05/0.4474, allocations: 11.23 kB / 0.6695 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.4474, allocations: 6.172 kB / 0.6695 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.4474, allocations: 9.312 kB / 0.6695 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.907e-05/0.4475, allocations: 95.25 kB / 0.6696 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4475, allocations: 4 kB / 0.6696 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002215/0.4477, allocations: 10.53 kB / 0.6696 GB, free: 3.207 MB / 0.4981 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 () * Number of clocked 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 (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.0001132/0.4478, allocations: 99.86 kB / 0.6697 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003038/0.4481, allocations: 80.03 kB / 0.6698 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4481, allocations: 0 / 0.6698 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.4483, allocations: 43.25 kB / 0.6698 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.4485, allocations: 9.266 kB / 0.6698 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002926/0.4488, allocations: 161.1 kB / 0.67 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.449, allocations: 0.6931 MB / 0.6707 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.8e-05/0.449, allocations: 8.938 kB / 0.6707 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.449, allocations: 9.875 kB / 0.6707 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.449, allocations: 0 / 0.6707 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of Templates: time 0.002748/0.4518, allocations: 0.7654 MB / 0.6714 GB, free: 1.797 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1)