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.000773/0.000773, allocations: 99.34 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008649/0.0008649, allocations: 184 kB / 16.92 MB, free: 6.703 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.322/1.322, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9005/0.9005, allocations: 135.3 MB / 427.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.0003281, allocations: 13.69 kB / 0.5082 GB, free: 4.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1396, allocations: 82.3 MB / 0.5886 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.001442/0.1411, allocations: 1.251 MB / 0.5898 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002798/0.1414, allocations: 112.5 kB / 0.5899 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.103e-05/0.1414, allocations: 0 / 0.5899 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.849e-05/0.1415, allocations: 15.92 kB / 0.59 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.425e-05/0.1416, allocations: 7.922 kB / 0.59 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.1417, allocations: 23.97 kB / 0.59 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.256e-05/0.1418, allocations: 47.91 kB / 0.59 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.477e-05/0.1419, allocations: 23.98 kB / 0.5901 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.833e-05/0.142, allocations: 23.91 kB / 0.5901 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.484e-05/0.142, allocations: 31.78 kB / 0.5901 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.1421, allocations: 3.938 kB / 0.5901 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.907e-05/0.1421, allocations: 12 kB / 0.5901 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.236e-05/0.1422, allocations: 7.984 kB / 0.5901 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.1422, allocations: 53.5 kB / 0.5902 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.568e-05/0.1423, allocations: 35.94 kB / 0.5902 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1423, allocations: 0 / 0.5902 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1423, allocations: 0 / 0.5902 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.986e-06/0.1423, allocations: 4 kB / 0.5902 GB, free: 0.9844 MB / 494.1 MB 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.0004485/0.1428, allocations: 379.6 kB / 0.5906 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.1428, allocations: 8.031 kB / 0.5906 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.811e-05/0.1428, allocations: 8.844 kB / 0.5906 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.143, allocations: 180.3 kB / 0.5908 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.143, allocations: 12.31 kB / 0.5908 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.143, allocations: 8.375 kB / 0.5908 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/0.1433, allocations: 102.1 kB / 0.5909 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.1433, allocations: 192 / 0.5909 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1433, allocations: 3.938 kB / 0.5909 GB, free: 208 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1434, allocations: 8 kB / 0.5909 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003393/0.1437, allocations: 99.92 kB / 0.591 GB, free: 100 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004969/0.1442, allocations: 340.6 kB / 0.5913 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.1444, allocations: 66.55 kB / 0.5914 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.1446, allocations: 52.91 kB / 0.5914 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.1446, allocations: 0 / 0.5914 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.1447, allocations: 38.56 kB / 0.5915 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1447, allocations: 0 / 0.5915 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005772/0.1453, allocations: 173.5 kB / 0.5916 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.1453, allocations: 51.41 kB / 0.5917 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.392e-05/0.1454, allocations: 121.8 kB / 0.5918 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.1454, allocations: 25.7 kB / 0.5918 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.1454, allocations: 91.98 kB / 0.5919 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.1455, allocations: 11.89 kB / 0.5919 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.1455, allocations: 13.72 kB / 0.5919 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.1456, allocations: 318.8 kB / 0.5922 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.1458, allocations: 47.95 kB / 0.5923 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.1459, allocations: 43.97 kB / 0.5923 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.1462, allocations: 105 kB / 0.5924 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1462, allocations: 3.938 kB / 0.5924 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003495/0.1466, allocations: 125.6 kB / 0.5926 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1466, allocations: 6.031 kB / 0.5926 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.1466, allocations: 0 / 0.5926 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.1466, allocations: 0 / 0.5926 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.1468, allocations: 27.97 kB / 0.5926 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.1468, allocations: 0 / 0.5926 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.454e-05/0.1469, allocations: 19.89 kB / 0.5926 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.1469, allocations: 3.938 kB / 0.5926 GB, free: 14.31 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 6.871e-05/0.147, allocations: 117.8 kB / 0.5927 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.147, allocations: 4 kB / 0.5927 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/0.1474, allocations: 141.4 kB / 0.5929 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1474, allocations: 4 kB / 0.5929 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1474, allocations: 0 / 0.5929 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1474, allocations: 0 / 0.5929 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.1476, allocations: 181.6 kB / 0.593 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1476, allocations: 0 / 0.593 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.1477, allocations: 19.98 kB / 0.5931 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1477, allocations: 0 / 0.5931 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.1477, allocations: 0 / 0.5931 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1477, allocations: 7.984 kB / 0.5931 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1478, allocations: 4 kB / 0.5931 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.1481, allocations: 223.3 kB / 0.5933 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.346e-05/0.1482, allocations: 85.09 kB / 0.5934 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.1482, allocations: 0 / 0.5934 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.1483, allocations: 15.98 kB / 0.5934 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.1484, allocations: 12 kB / 0.5934 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.1484, allocations: 7.984 kB / 0.5934 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.015e-05/0.1484, allocations: 87.28 kB / 0.5935 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1484, allocations: 0 / 0.5935 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002241/0.1487, allocations: 15.84 kB / 0.5935 GB, free: 13.3 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.000115/0.1488, allocations: 103.2 kB / 0.5936 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003569/0.1492, allocations: 95.92 kB / 0.5937 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1492, allocations: 0 / 0.5937 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.1493, allocations: 59.89 kB / 0.5937 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.1496, allocations: 7.656 kB / 0.5937 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003079/0.1499, allocations: 202.3 kB / 0.5939 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.1501, allocations: 0.6887 MB / 0.5946 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.1502, allocations: 7.438 kB / 0.5946 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.1502, allocations: 3.938 kB / 0.5946 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.002136/0.1523, allocations: 0.9204 MB / 0.5955 GB, free: 11.16 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)