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.001834/0.001834, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002269/0.002269, allocations: 213.3 kB / 22.99 MB, free: 4.605 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.801 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 0.9884/0.9884, allocations: 149.9 MB / 463 MB, free: 10.36 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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Average,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Average,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) [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.002421/0.002421, allocations: 66.55 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1929, allocations: 89.18 MB / 0.7282 GB, free: 1.055 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.003627/0.1965, allocations: 1.537 MB / 0.7297 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004106/0.197, allocations: 111.7 kB / 0.7298 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.293e-05/0.197, allocations: 0 / 0.7298 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.1972, allocations: 11.86 kB / 0.7298 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.225e-05/0.1972, allocations: 3.938 kB / 0.7298 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.1975, allocations: 35.97 kB / 0.7298 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.1976, allocations: 55.81 kB / 0.7299 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1977, allocations: 15.98 kB / 0.7299 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.249e-05/0.1978, allocations: 27.92 kB / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.056e-05/0.1979, allocations: 31.84 kB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.1979, allocations: 4 kB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.118e-05/0.198, allocations: 12 kB / 0.73 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.66e-05/0.198, allocations: 15.92 kB / 0.73 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.1981, allocations: 19.92 kB / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.1982, allocations: 64.02 kB / 0.7301 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1982, allocations: 3.938 kB / 0.7301 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.542e-06/0.1982, allocations: 3.938 kB / 0.7301 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.1982, allocations: 3.938 kB / 0.7301 GB, free: 15.09 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.0005949/0.1988, allocations: 306.1 kB / 0.7304 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.1989, allocations: 12.03 kB / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.1989, allocations: 30.75 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.199, allocations: 8.891 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.1992, allocations: 123 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.1992, allocations: 4.375 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.1992, allocations: 8.375 kB / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.1995, allocations: 94.12 kB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1995, allocations: 11.92 kB / 0.7306 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.1995, allocations: 0 / 0.7306 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1995, allocations: 0 / 0.7306 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.1998, allocations: 79.92 kB / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005917/0.2004, allocations: 287.7 kB / 0.731 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.2006, allocations: 62.53 kB / 0.731 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.2008, allocations: 40.91 kB / 0.7311 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.036e-05/0.2008, allocations: 0 / 0.7311 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.2009, allocations: 38.56 kB / 0.7311 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2009, allocations: 3.938 kB / 0.7311 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005894/0.2015, allocations: 141.6 kB / 0.7313 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.2015, allocations: 51.41 kB / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.2016, allocations: 122.9 kB / 0.7314 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.2017, allocations: 25.7 kB / 0.7315 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.031e-05/0.2017, allocations: 88.09 kB / 0.7315 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.2018, allocations: 15.89 kB / 0.7316 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/0.2018, allocations: 17.7 kB / 0.7316 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.202, allocations: 318.8 kB / 0.7319 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.2021, allocations: 39.95 kB / 0.7319 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.2023, allocations: 27.97 kB / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.2025, allocations: 76.77 kB / 0.732 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2025, allocations: 0 / 0.732 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003359/0.2029, allocations: 109.5 kB / 0.7321 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2029, allocations: 4 kB / 0.7321 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2029, allocations: 0 / 0.7321 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.2029, allocations: 0 / 0.7321 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.2031, allocations: 23.97 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.2031, allocations: 3.938 kB / 0.7321 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.264e-05/0.2031, allocations: 15.98 kB / 0.7322 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.2032, allocations: 0 / 0.7322 GB, free: 12.75 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 0.0001007/0.2033, allocations: 117.8 kB / 0.7323 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.2033, allocations: 4 kB / 0.7323 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004107/0.2037, allocations: 113.5 kB / 0.7324 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.2037, allocations: 4 kB / 0.7324 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2037, allocations: 4 kB / 0.7324 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.2037, allocations: 0 / 0.7324 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.2039, allocations: 149 kB / 0.7325 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2039, allocations: 0 / 0.7325 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.651e-05/0.204, allocations: 15.98 kB / 0.7325 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.204, allocations: 0 / 0.7325 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.204, allocations: 0 / 0.7325 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.204, allocations: 3.938 kB / 0.7326 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.204, allocations: 4 kB / 0.7326 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004178/0.2045, allocations: 215.3 kB / 0.7328 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.411e-05/0.2045, allocations: 3.953 kB / 0.7328 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.2045, allocations: 3.984 kB / 0.7328 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.2046, allocations: 11.98 kB / 0.7328 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.2047, allocations: 4 kB / 0.7328 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.2047, allocations: 4 kB / 0.7328 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.949e-05/0.2047, allocations: 93.78 kB / 0.7329 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2047, allocations: 0 / 0.7329 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002356/0.205, allocations: 15.94 kB / 0.7329 GB, free: 11.91 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.0007608/0.2057, allocations: 0.7319 MB / 0.7336 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003961/0.2061, allocations: 83.86 kB / 0.7337 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2061, allocations: 0 / 0.7337 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.2063, allocations: 39.95 kB / 0.7337 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.2066, allocations: 0 / 0.7337 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.2086, allocations: 1.428 MB / 0.7351 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.049e-05/0.2087, allocations: 71.33 kB / 0.7352 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.087e-05/0.2088, allocations: 7.984 kB / 0.7352 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.2088, allocations: 23.44 kB / 0.7352 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.2088, allocations: 3.938 kB / 0.7352 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03163/0.2405, allocations: 2.388 MB / 0.7376 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.48, allocations: 13.92 kB / 0.7376 GB, free: 7.152 MB / 0.5606 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Average.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.327769780997187] Failed to read output from testmodel.py, exit status != 0: 11.59624297870323 11.623420873 11.420525366 Calling exit ...