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.001312/0.001312, allocations: 106 kB / 16.4 MB, free: 6.504 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.001909/0.001909, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.272/1.272, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7112/0.7112, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 66.7 kB / 0.5577 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1361, allocations: 76.17 MB / 0.6321 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.002498/0.1386, allocations: 1.535 MB / 0.6336 GB, free: 2.844 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00036/0.139, allocations: 104.5 kB / 0.6337 GB, free: 2.738 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6e-05/0.1391, allocations: 3.938 kB / 0.6337 GB, free: 2.734 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.1392, allocations: 15.86 kB / 0.6337 GB, free: 2.719 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.25e-05/0.1392, allocations: 3.938 kB / 0.6337 GB, free: 2.715 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.1395, allocations: 35.89 kB / 0.6337 GB, free: 2.68 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.1396, allocations: 51.89 kB / 0.6338 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.1398, allocations: 20 kB / 0.6338 GB, free: 2.609 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.978e-05/0.1398, allocations: 31.84 kB / 0.6338 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.084e-05/0.1399, allocations: 27.92 kB / 0.6339 GB, free: 2.551 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.1399, allocations: 4 kB / 0.6339 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.454e-05/0.14, allocations: 19.92 kB / 0.6339 GB, free: 2.527 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.641e-05/0.1401, allocations: 23.91 kB / 0.6339 GB, free: 2.504 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.1401, allocations: 19.88 kB / 0.6339 GB, free: 2.484 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.1402, allocations: 55.8 kB / 0.634 GB, free: 2.43 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1403, allocations: 4 kB / 0.634 GB, free: 2.426 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1403, allocations: 0 / 0.634 GB, free: 2.426 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.1403, allocations: 0 / 0.634 GB, free: 2.426 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.0005563/0.1408, allocations: 379.3 kB / 0.6343 GB, free: 2.004 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.1409, allocations: 8.031 kB / 0.6343 GB, free: 1.996 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.1409, allocations: 8.844 kB / 0.6344 GB, free: 1.988 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.1411, allocations: 188.1 kB / 0.6345 GB, free: 1.766 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.1411, allocations: 4.375 kB / 0.6345 GB, free: 1.762 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.1411, allocations: 4.375 kB / 0.6345 GB, free: 1.758 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.1414, allocations: 90.14 kB / 0.6346 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1414, allocations: 192 / 0.6346 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1414, allocations: 7.938 kB / 0.6346 GB, free: 1.656 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1414, allocations: 0 / 0.6346 GB, free: 1.656 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/0.1418, allocations: 83.91 kB / 0.6347 GB, free: 1.574 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005703/0.1423, allocations: 324.6 kB / 0.635 GB, free: 1.207 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.1425, allocations: 58.53 kB / 0.6351 GB, free: 1.141 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.1427, allocations: 40.91 kB / 0.6351 GB, free: 1.098 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/0.1428, allocations: 4 kB / 0.6351 GB, free: 1.094 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.1428, allocations: 42.59 kB / 0.6352 GB, free: 1.043 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1428, allocations: 0 / 0.6352 GB, free: 1.043 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005366/0.1433, allocations: 129.6 kB / 0.6353 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.1434, allocations: 51.41 kB / 0.6353 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.783e-05/0.1435, allocations: 117.8 kB / 0.6355 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.1435, allocations: 33.64 kB / 0.6355 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.469e-05/0.1436, allocations: 99.97 kB / 0.6356 GB, free: 0.582 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.1436, allocations: 7.906 kB / 0.6356 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.1436, allocations: 13.72 kB / 0.6356 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.1437, allocations: 322.8 kB / 0.6359 GB, free: 236 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.1439, allocations: 35.95 kB / 0.6359 GB, free: 200 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.144, allocations: 31.97 kB / 0.636 GB, free: 168 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.1443, allocations: 80.98 kB / 0.6361 GB, free: 84 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1443, allocations: 0 / 0.6361 GB, free: 84 kB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003272/0.1446, allocations: 109.5 kB / 0.6362 GB, free: 15.97 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.1447, allocations: 5.719 kB / 0.6362 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1447, allocations: 3.938 kB / 0.6362 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1447, allocations: 0 / 0.6362 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.1448, allocations: 15.98 kB / 0.6362 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.1448, allocations: 0 / 0.6362 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.064e-05/0.1449, allocations: 19.97 kB / 0.6362 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.1449, allocations: 4 kB / 0.6362 GB, free: 15.92 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.273e-05/0.145, allocations: 121.8 kB / 0.6363 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.1451, allocations: 4 kB / 0.6363 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003697/0.1454, allocations: 113.4 kB / 0.6364 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1454, allocations: 0 / 0.6364 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1455, allocations: 0 / 0.6364 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1455, allocations: 4 kB / 0.6364 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.1457, allocations: 185.5 kB / 0.6366 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1457, allocations: 0 / 0.6366 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.02e-05/0.1458, allocations: 11.98 kB / 0.6366 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1458, allocations: 4 kB / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.1458, allocations: 0 / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1458, allocations: 0 / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1458, allocations: 0 / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/0.1462, allocations: 207.3 kB / 0.6368 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.1462, allocations: 84.95 kB / 0.6369 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.1463, allocations: 7.984 kB / 0.6369 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.968e-05/0.1464, allocations: 11.98 kB / 0.6369 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.1464, allocations: 4 kB / 0.6369 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.1464, allocations: 0 / 0.6369 GB, free: 15.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.42e-05/0.1465, allocations: 95.27 kB / 0.637 GB, free: 14.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1465, allocations: 0 / 0.637 GB, free: 14.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002158/0.1467, allocations: 16 kB / 0.637 GB, free: 14.96 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.0001217/0.1468, allocations: 103.2 kB / 0.6371 GB, free: 14.85 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003509/0.1472, allocations: 79.86 kB / 0.6372 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1472, allocations: 4 kB / 0.6372 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.1474, allocations: 43.89 kB / 0.6373 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.1476, allocations: 7.938 kB / 0.6373 GB, free: 14.72 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.1479, allocations: 141.6 kB / 0.6374 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.1482, allocations: 0.6885 MB / 0.6381 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.934e-05/0.1482, allocations: 11.98 kB / 0.6381 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.1483, allocations: 11.44 kB / 0.6381 GB, free: 13.82 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1483, allocations: 0 / 0.6381 GB, free: 13.82 MB / 494.1 MB Notification: Performance of Templates: time 0.002954/0.1512, allocations: 0.7743 MB / 0.6388 GB, free: 13.05 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)