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.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.001655/0.001655, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001499/0.001499, allocations: 213.1 kB / 22.99 MB, free: 4.977 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.013/1.013, allocations: 149.9 MB / 463 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") translateModel(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") [Timeout 660] "Notification: IBPSA 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.00216/0.00216, allocations: 71.61 kB / 0.6416 GB, free: 9.594 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2312, allocations: 89.17 MB / 0.7286 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.003134/0.2343, allocations: 1.536 MB / 0.7301 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003853/0.2347, allocations: 119.6 kB / 0.7302 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.374e-05/0.2348, allocations: 0 / 0.7302 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.2349, allocations: 11.92 kB / 0.7303 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.619e-05/0.2349, allocations: 7.875 kB / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.2352, allocations: 27.97 kB / 0.7303 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.2353, allocations: 59.84 kB / 0.7303 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.2355, allocations: 11.98 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.074e-05/0.2355, allocations: 31.91 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.309e-05/0.2356, allocations: 27.84 kB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.2356, allocations: 4 kB / 0.7304 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.961e-05/0.2357, allocations: 11.98 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.416e-05/0.2358, allocations: 23.92 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.197e-05/0.2358, allocations: 11.94 kB / 0.7305 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.236, allocations: 63.72 kB / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.236, allocations: 0 / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.935e-06/0.236, allocations: 7.938 kB / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.236, allocations: 0 / 0.7305 GB, free: 14.54 MB / 0.5606 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.0006371/0.2366, allocations: 310 kB / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.2367, allocations: 8.031 kB / 0.7308 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.2367, allocations: 12.89 kB / 0.7308 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.2369, allocations: 122.4 kB / 0.731 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.2369, allocations: 4.375 kB / 0.731 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.237, allocations: 8.375 kB / 0.731 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.2373, allocations: 90.2 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.2373, allocations: 4.172 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.2373, allocations: 3.938 kB / 0.7311 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.2373, allocations: 0 / 0.7311 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003293/0.2376, allocations: 87.84 kB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000554/0.2382, allocations: 264.3 kB / 0.7314 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.2384, allocations: 58.58 kB / 0.7315 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.2385, allocations: 36.91 kB / 0.7315 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.2386, allocations: 4 kB / 0.7315 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.2386, allocations: 30.56 kB / 0.7315 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.2386, allocations: 0 / 0.7315 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005741/0.2392, allocations: 141.5 kB / 0.7317 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.407e-05/0.2393, allocations: 63.33 kB / 0.7317 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.2394, allocations: 115.3 kB / 0.7318 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.2394, allocations: 29.64 kB / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.482e-05/0.2395, allocations: 92.09 kB / 0.732 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.2395, allocations: 15.86 kB / 0.732 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.2395, allocations: 21.72 kB / 0.732 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.2397, allocations: 318.8 kB / 0.7323 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.2398, allocations: 35.95 kB / 0.7323 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.24, allocations: 35.95 kB / 0.7324 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.2403, allocations: 72.78 kB / 0.7324 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2403, allocations: 4 kB / 0.7324 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000332/0.2406, allocations: 97.58 kB / 0.7325 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.2406, allocations: 8 kB / 0.7325 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2406, allocations: 3.938 kB / 0.7325 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.2407, allocations: 0 / 0.7325 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.2408, allocations: 15.97 kB / 0.7326 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.2408, allocations: 11.94 kB / 0.7326 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.68e-05/0.2409, allocations: 11.98 kB / 0.7326 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.2409, allocations: 4 kB / 0.7326 GB, free: 12.26 MB / 0.5606 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 9.588e-05/0.241, allocations: 113.8 kB / 0.7327 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.241, allocations: 3.984 kB / 0.7327 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004004/0.2414, allocations: 117.6 kB / 0.7328 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2414, allocations: 0 / 0.7328 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2414, allocations: 0 / 0.7328 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2414, allocations: 384 / 0.7328 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.2416, allocations: 125.2 kB / 0.7329 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2416, allocations: 0 / 0.7329 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.935e-05/0.2417, allocations: 23.92 kB / 0.7329 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.2417, allocations: 0 / 0.7329 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.2417, allocations: 0 / 0.7329 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2417, allocations: 0 / 0.7329 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.2417, allocations: 4 kB / 0.733 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004028/0.2421, allocations: 211.4 kB / 0.7332 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.2421, allocations: 3.953 kB / 0.7332 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.2421, allocations: 0 / 0.7332 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.2422, allocations: 15.97 kB / 0.7332 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.2423, allocations: 0 / 0.7332 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.2423, allocations: 7.938 kB / 0.7332 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.523e-05/0.2424, allocations: 98.33 kB / 0.7333 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2424, allocations: 0 / 0.7333 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002303/0.2426, allocations: 12 kB / 0.7333 GB, free: 11.47 MB / 0.5606 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.0001486/0.2428, allocations: 103.2 kB / 0.7334 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003738/0.2431, allocations: 71.92 kB / 0.7335 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2431, allocations: 0 / 0.7335 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.2433, allocations: 39.95 kB / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.2436, allocations: 13.34 kB / 0.7335 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00041/0.244, allocations: 153.4 kB / 0.7337 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.124e-05/0.2441, allocations: 75.27 kB / 0.7337 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.506e-05/0.2441, allocations: 7.984 kB / 0.7337 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.2442, allocations: 15.44 kB / 0.7337 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.2442, allocations: 0 / 0.7337 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of Templates: time 0.003756/0.2479, allocations: 0.8353 MB / 0.7346 GB, free: 10.13 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.038103984668851] Failed to read output from testmodel.py, exit status != 0: 0.2570286672562361 0.272112746 0.032948199000000004 Calling exit ...