Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") translateModel(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00133/0.001331, allocations: 116.9 kB / 17.08 MB, free: 5.965 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.001046/0.001046, allocations: 198.9 kB / 18.02 MB, free: 5.047 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.407/1.407, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.746/0.746, allocations: 115.3 MB / 407.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 64.98 kB / 0.5583 GB, free: 32.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1403, allocations: 76.19 MB / 0.6327 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.002615/0.1429, allocations: 1.523 MB / 0.6342 GB, free: 2.836 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003425/0.1433, allocations: 108.5 kB / 0.6343 GB, free: 2.727 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.425e-05/0.1434, allocations: 4 kB / 0.6343 GB, free: 2.723 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.1435, allocations: 11.88 kB / 0.6343 GB, free: 2.711 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.532e-05/0.1435, allocations: 7.922 kB / 0.6344 GB, free: 2.703 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.1438, allocations: 27.95 kB / 0.6344 GB, free: 2.676 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.1439, allocations: 55.84 kB / 0.6344 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.144, allocations: 23.98 kB / 0.6345 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.06e-05/0.1441, allocations: 31.8 kB / 0.6345 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.702e-05/0.1442, allocations: 31.91 kB / 0.6345 GB, free: 2.535 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.1442, allocations: 7.984 kB / 0.6345 GB, free: 2.527 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.238e-05/0.1443, allocations: 12 kB / 0.6345 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.093e-05/0.1443, allocations: 15.92 kB / 0.6346 GB, free: 2.5 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.1444, allocations: 23.86 kB / 0.6346 GB, free: 2.477 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.1445, allocations: 59.73 kB / 0.6346 GB, free: 2.418 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1445, allocations: 0 / 0.6346 GB, free: 2.418 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1446, allocations: 4 kB / 0.6346 GB, free: 2.414 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1446, allocations: 4 kB / 0.6346 GB, free: 2.41 MB / 478.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.0005229/0.1451, allocations: 375.3 kB / 0.635 GB, free: 1.992 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.1452, allocations: 8.031 kB / 0.635 GB, free: 1.984 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.1452, allocations: 12.84 kB / 0.635 GB, free: 1.973 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.1454, allocations: 184.2 kB / 0.6352 GB, free: 1.754 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1454, allocations: 4.375 kB / 0.6352 GB, free: 1.75 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.1454, allocations: 8.375 kB / 0.6352 GB, free: 1.742 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.1457, allocations: 102.1 kB / 0.6353 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.1457, allocations: 192 / 0.6353 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1457, allocations: 3.938 kB / 0.6353 GB, free: 1.633 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1458, allocations: 0 / 0.6353 GB, free: 1.633 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.1461, allocations: 75.92 kB / 0.6354 GB, free: 1.559 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005868/0.1467, allocations: 332.6 kB / 0.6357 GB, free: 1.184 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.1469, allocations: 54.55 kB / 0.6357 GB, free: 1.121 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.147, allocations: 40.91 kB / 0.6358 GB, free: 1.078 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.1471, allocations: 8 kB / 0.6358 GB, free: 1.07 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.1471, allocations: 30.56 kB / 0.6358 GB, free: 1.031 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.1471, allocations: 0 / 0.6358 GB, free: 1.031 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005262/0.1476, allocations: 137.6 kB / 0.636 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.1477, allocations: 59.39 kB / 0.636 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.171e-05/0.1478, allocations: 121.8 kB / 0.6361 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.1478, allocations: 25.7 kB / 0.6362 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/0.1478, allocations: 91.98 kB / 0.6362 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.1479, allocations: 11.89 kB / 0.6363 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.1479, allocations: 17.72 kB / 0.6363 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.148, allocations: 314.8 kB / 0.6366 GB, free: 220 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.1482, allocations: 39.95 kB / 0.6366 GB, free: 180 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.1483, allocations: 31.91 kB / 0.6366 GB, free: 148 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.1486, allocations: 80.77 kB / 0.6367 GB, free: 64 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1486, allocations: 3.938 kB / 0.6367 GB, free: 60 kB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003258/0.1489, allocations: 101.5 kB / 0.6368 GB, free: 15.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.149, allocations: 8 kB / 0.6368 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.149, allocations: 3.938 kB / 0.6368 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.149, allocations: 0 / 0.6368 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.1491, allocations: 19.97 kB / 0.6368 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1491, allocations: 0 / 0.6368 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.867e-05/0.1492, allocations: 15.98 kB / 0.6369 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.1492, allocations: 0 / 0.6369 GB, free: 15.91 MB / 494.1 MB 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.546e-05/0.1493, allocations: 121.5 kB / 0.637 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.1494, allocations: 0 / 0.637 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003565/0.1497, allocations: 121.4 kB / 0.6371 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1497, allocations: 4 kB / 0.6371 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1497, allocations: 0 / 0.6371 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1498, allocations: 384 / 0.6371 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.1499, allocations: 185.5 kB / 0.6373 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1499, allocations: 0 / 0.6373 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.864e-05/0.15, allocations: 15.97 kB / 0.6373 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1501, allocations: 0 / 0.6373 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.1501, allocations: 4 kB / 0.6373 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.1501, allocations: 0 / 0.6373 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1501, allocations: 7.984 kB / 0.6373 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.1505, allocations: 207.3 kB / 0.6375 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/0.1505, allocations: 84.95 kB / 0.6376 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.1505, allocations: 0 / 0.6376 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.1506, allocations: 11.98 kB / 0.6376 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.1507, allocations: 15.98 kB / 0.6376 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.1507, allocations: 0 / 0.6376 GB, free: 15.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.438e-05/0.1508, allocations: 87.28 kB / 0.6377 GB, free: 14.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1508, allocations: 0 / 0.6377 GB, free: 14.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002297/0.151, allocations: 12 kB / 0.6377 GB, free: 14.94 MB / 494.1 MB 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.0001333/0.1511, allocations: 107.2 kB / 0.6378 GB, free: 14.83 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003429/0.1515, allocations: 79.92 kB / 0.6379 GB, free: 14.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1515, allocations: 0 / 0.6379 GB, free: 14.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.1516, allocations: 39.89 kB / 0.6379 GB, free: 14.71 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.1519, allocations: 9.812 kB / 0.6379 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.1523, allocations: 179.3 kB / 0.6381 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.1526, allocations: 0.6962 MB / 0.6388 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/0.1526, allocations: 11.44 kB / 0.6388 GB, free: 13.76 MB / 494.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1527, allocations: 0 / 0.6388 GB, free: 13.76 MB / 494.1 MB Notification: Performance of Templates: time 0.002317/0.155, allocations: 0.9262 MB / 0.6397 GB, free: 12.84 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe 2>&1)