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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 79.03 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 159.3 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.395/1.395, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7987/0.7987, allocations: 101.3 MB / 361.1 MB, free: 9.551 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Average") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 62.91 kB / 0.5356 GB, free: 5.23 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1414, allocations: 85.88 MB / 0.6195 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002742/0.1442, allocations: 1.542 MB / 0.621 GB, free: 4 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003251/0.1445, allocations: 116.5 kB / 0.6211 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.564e-05/0.1445, allocations: 0 / 0.6211 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.754e-05/0.1446, allocations: 7.938 kB / 0.6211 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.649e-05/0.1447, allocations: 11.86 kB / 0.6211 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.1449, allocations: 23.97 kB / 0.6212 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.145, allocations: 55.84 kB / 0.6212 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1451, allocations: 19.97 kB / 0.6212 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.268e-05/0.1451, allocations: 19.92 kB / 0.6213 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.691e-05/0.1452, allocations: 31.84 kB / 0.6213 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.1452, allocations: 12 kB / 0.6213 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-05/0.1453, allocations: 11.98 kB / 0.6213 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.221e-05/0.1453, allocations: 15.94 kB / 0.6213 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/0.1454, allocations: 15.92 kB / 0.6213 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.1455, allocations: 59.73 kB / 0.6214 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1455, allocations: 3.938 kB / 0.6214 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1455, allocations: 0 / 0.6214 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.1455, allocations: 4 kB / 0.6214 GB, free: 15.6 MB / 0.5294 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.0005343/0.146, allocations: 310 kB / 0.6217 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.1461, allocations: 12.03 kB / 0.6217 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.1461, allocations: 8.891 kB / 0.6217 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.1463, allocations: 130.4 kB / 0.6218 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.1463, allocations: 8.375 kB / 0.6219 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.1463, allocations: 4.375 kB / 0.6219 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.1466, allocations: 90.19 kB / 0.6219 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.1466, allocations: 192 / 0.6219 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1466, allocations: 7.875 kB / 0.622 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1466, allocations: 3.984 kB / 0.622 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003247/0.1469, allocations: 83.92 kB / 0.622 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004902/0.1474, allocations: 260.3 kB / 0.6223 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.1476, allocations: 58.53 kB / 0.6223 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.1478, allocations: 40.91 kB / 0.6224 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.1478, allocations: 4 kB / 0.6224 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1479, allocations: 30.56 kB / 0.6224 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1479, allocations: 0 / 0.6224 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005692/0.1484, allocations: 149.5 kB / 0.6226 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.1485, allocations: 51.41 kB / 0.6226 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.442e-05/0.1486, allocations: 112.9 kB / 0.6227 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1486, allocations: 29.7 kB / 0.6227 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.1487, allocations: 100.1 kB / 0.6228 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.1487, allocations: 7.891 kB / 0.6228 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.1487, allocations: 17.72 kB / 0.6229 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1489, allocations: 322.8 kB / 0.6232 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.149, allocations: 35.95 kB / 0.6232 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.1492, allocations: 35.97 kB / 0.6232 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.1495, allocations: 76.78 kB / 0.6233 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1495, allocations: 0 / 0.6233 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003496/0.1498, allocations: 109.5 kB / 0.6234 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1498, allocations: 9.406 kB / 0.6234 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-06/0.1498, allocations: 0 / 0.6234 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.1498, allocations: 0 / 0.6234 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.15, allocations: 11.98 kB / 0.6234 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.15, allocations: 7.984 kB / 0.6234 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.96e-05/0.1501, allocations: 11.97 kB / 0.6235 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.1501, allocations: 4 kB / 0.6235 GB, free: 13.32 MB / 0.5294 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 8.716e-05/0.1502, allocations: 121.8 kB / 0.6236 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.1502, allocations: 3.953 kB / 0.6236 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004044/0.1506, allocations: 121.5 kB / 0.6237 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1506, allocations: 0 / 0.6237 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1506, allocations: 0 / 0.6237 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1506, allocations: 0 / 0.6237 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.1508, allocations: 121.2 kB / 0.6238 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1508, allocations: 0 / 0.6238 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.1509, allocations: 23.97 kB / 0.6238 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1509, allocations: 0 / 0.6238 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1509, allocations: 384 / 0.6238 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1509, allocations: 0 / 0.6238 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1509, allocations: 7.938 kB / 0.6238 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000411/0.1513, allocations: 207.4 kB / 0.624 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.858e-06/0.1513, allocations: 7.953 kB / 0.624 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.1513, allocations: 4 kB / 0.624 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.1514, allocations: 11.98 kB / 0.6241 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.1515, allocations: 7.984 kB / 0.6241 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.1515, allocations: 3.938 kB / 0.6241 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.264e-05/0.1516, allocations: 91.27 kB / 0.6242 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1516, allocations: 0 / 0.6242 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000233/0.1518, allocations: 8 kB / 0.6242 GB, free: 12.53 MB / 0.5294 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.0001148/0.1519, allocations: 99.25 kB / 0.6243 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003712/0.1523, allocations: 79.91 kB / 0.6243 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1523, allocations: 0 / 0.6243 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.1524, allocations: 31.97 kB / 0.6244 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.1527, allocations: 14.19 kB / 0.6244 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003231/0.153, allocations: 165.1 kB / 0.6245 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.146e-05/0.1531, allocations: 71.33 kB / 0.6246 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.618e-05/0.1531, allocations: 4.25 kB / 0.6246 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.1532, allocations: 12.5 kB / 0.6246 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.1532, allocations: 0 / 0.6246 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of Templates: time 0.003234/0.1564, allocations: 0.8002 MB / 0.6254 GB, free: 11.23 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Average.makefile [Timeout 660] (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 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.05744769400917] Failed to read output from testmodel.py, exit status != 0: 0.16369397297967225 0.178870405 0.030325808000000003 Calling exit ...