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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 121.7 kB / 17.81 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 187.8 kB / 20.74 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 249.1 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8283/0.8283, allocations: 128.4 MB / 432.4 MB, free: 13.2 MB / 350.1 MB " [Timeout remaining time 179] 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=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: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 67.89 kB / 0.5987 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4044, allocations: 83.26 MB / 0.68 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.002964/0.4074, allocations: 1.536 MB / 0.6815 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003454/0.4077, allocations: 117.1 kB / 0.6816 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.4078, allocations: 0 / 0.6816 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.4079, allocations: 17.3 kB / 0.6817 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.344e-05/0.4079, allocations: 5.469 kB / 0.6817 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.4082, allocations: 23.81 kB / 0.6817 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.4083, allocations: 61.7 kB / 0.6817 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.4084, allocations: 25.95 kB / 0.6818 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.216e-05/0.4085, allocations: 26.84 kB / 0.6818 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.587e-05/0.4085, allocations: 27.88 kB / 0.6818 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.4086, allocations: 9.312 kB / 0.6818 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.37e-05/0.4086, allocations: 7.25 kB / 0.6818 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.241e-05/0.4087, allocations: 21.45 kB / 0.6819 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.4087, allocations: 25.14 kB / 0.6819 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.4088, allocations: 63.27 kB / 0.6819 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.4088, allocations: 0 / 0.6819 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4088, allocations: 1.156 kB / 0.6819 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.4088, allocations: 0 / 0.6819 GB, free: 5.559 MB / 0.4981 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.0004933/0.4093, allocations: 385.2 kB / 0.6823 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.4094, allocations: 9.25 kB / 0.6823 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.4094, allocations: 7.516 kB / 0.6823 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.4095, allocations: 184.1 kB / 0.6825 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.4096, allocations: 5.719 kB / 0.6825 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.4096, allocations: 3 kB / 0.6825 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.4098, allocations: 93.06 kB / 0.6826 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.4099, allocations: 192 / 0.6826 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.4099, allocations: 9.344 kB / 0.6826 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.4099, allocations: 1.656 kB / 0.6826 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.4102, allocations: 76.27 kB / 0.6827 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.4106, allocations: 331.8 kB / 0.683 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.4108, allocations: 58.06 kB / 0.6831 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.411, allocations: 39.28 kB / 0.6831 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.411, allocations: 1.812 kB / 0.6831 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.154e-05/0.411, allocations: 35.62 kB / 0.6831 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.411, allocations: 5.031 kB / 0.6831 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005455/0.4115, allocations: 141.3 kB / 0.6833 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.952e-05/0.4116, allocations: 52.5 kB / 0.6833 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.42e-05/0.4116, allocations: 122.9 kB / 0.6834 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.4116, allocations: 30.61 kB / 0.6835 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/0.4117, allocations: 95.19 kB / 0.6836 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.4117, allocations: 13.2 kB / 0.6836 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.4117, allocations: 16.94 kB / 0.6836 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.949e-05/0.4118, allocations: 315.9 kB / 0.6839 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.4119, allocations: 34.45 kB / 0.6839 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.412, allocations: 39.16 kB / 0.684 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.4123, allocations: 74.36 kB / 0.684 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4123, allocations: 0 / 0.684 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003153/0.4126, allocations: 104.1 kB / 0.6841 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.4126, allocations: 7.875 kB / 0.6841 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4126, allocations: 1.375 kB / 0.6841 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.4127, allocations: 0 / 0.6841 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.4128, allocations: 18.72 kB / 0.6841 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.4128, allocations: 0 / 0.6841 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.703e-05/0.4129, allocations: 14.75 kB / 0.6842 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.4129, allocations: 5.219 kB / 0.6842 GB, free: 3.488 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 5.12e-05/0.4129, allocations: 117.9 kB / 0.6843 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.413, allocations: 2.688 kB / 0.6843 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.4133, allocations: 119.7 kB / 0.6844 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.4133, allocations: 1.281 kB / 0.6844 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4133, allocations: 0 / 0.6844 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.4133, allocations: 4 kB / 0.6844 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.4135, allocations: 182.7 kB / 0.6846 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4135, allocations: 0 / 0.6846 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.4136, allocations: 15.8 kB / 0.6846 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4136, allocations: 3.984 kB / 0.6846 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.4136, allocations: 0 / 0.6846 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4136, allocations: 1.312 kB / 0.6846 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4136, allocations: 0 / 0.6846 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.4139, allocations: 212 kB / 0.6848 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.825e-05/0.4139, allocations: 82.22 kB / 0.6849 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.4139, allocations: 4.938 kB / 0.6849 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.4141, allocations: 10.56 kB / 0.6849 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.4141, allocations: 10.05 kB / 0.6849 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.4141, allocations: 5.078 kB / 0.6849 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.846e-05/0.4141, allocations: 92.03 kB / 0.685 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.4141, allocations: 0 / 0.685 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002303/0.4144, allocations: 17.5 kB / 0.685 GB, free: 2.668 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.0001177/0.4145, allocations: 103.4 kB / 0.6851 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003621/0.4149, allocations: 75.52 kB / 0.6852 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.4149, allocations: 4 kB / 0.6852 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.415, allocations: 42.55 kB / 0.6852 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.4153, allocations: 3.625 kB / 0.6852 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.4156, allocations: 176.1 kB / 0.6854 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.4157, allocations: 0.6847 MB / 0.6861 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.4158, allocations: 18.64 kB / 0.6861 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.4158, allocations: 0 / 0.6861 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of Templates: time 0.002344/0.4181, allocations: 0.9309 MB / 0.687 GB, free: 1.168 MB / 0.4981 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: 7.721699241083115] Failed to read output from testmodel.py, exit status != 0: 0.42598876380361617 0.43817882100000005 0.026606758 Calling exit ...