Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009059/0.0009059, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 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.001575/0.001575, allocations: 207.8 kB / 23.02 MB, free: 2.961 MB / 13.93 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.073/1.073, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.038/2.038, allocations: 0.5045 GB / 0.8104 GB, free: 2.711 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Examples.Average,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Average,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 67.89 kB / 1.177 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7748/0.7758, allocations: 180 MB / 1.352 GB, free: 1.66 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002295/0.7781, allocations: 1.55 MB / 1.354 GB, free: 104 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0003437/0.7784, allocations: 111.7 kB / 1.354 GB, free: 15.99 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.466e-05/0.7785, allocations: 3.938 kB / 1.354 GB, free: 15.99 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.7786, allocations: 7.938 kB / 1.354 GB, free: 15.98 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 2.636e-05/0.7787, allocations: 11.92 kB / 1.354 GB, free: 15.97 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.7789, allocations: 27.91 kB / 1.354 GB, free: 15.94 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 9.687e-05/0.779, allocations: 55.83 kB / 1.354 GB, free: 15.89 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.7792, allocations: 23.97 kB / 1.354 GB, free: 15.86 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.736e-05/0.7792, allocations: 27.91 kB / 1.354 GB, free: 15.84 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.553e-05/0.7793, allocations: 23.91 kB / 1.354 GB, free: 15.81 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.7793, allocations: 7.938 kB / 1.354 GB, free: 15.8 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.838e-05/0.7794, allocations: 12 kB / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 4.675e-05/0.7794, allocations: 15.92 kB / 1.354 GB, free: 15.78 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.7795, allocations: 31.86 kB / 1.354 GB, free: 15.75 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.7796, allocations: 61.98 kB / 1.354 GB, free: 15.69 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7796, allocations: 0 / 1.354 GB, free: 15.69 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.665e-06/0.7796, allocations: 0 / 1.354 GB, free: 15.69 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.7796, allocations: 4 kB / 1.354 GB, free: 15.68 MB / 1.042 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.0004309/0.7801, allocations: 304 kB / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.7801, allocations: 8.922 kB / 1.355 GB, free: 15.35 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.122e-05/0.7801, allocations: 30.75 kB / 1.355 GB, free: 15.31 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.762e-05/0.7802, allocations: 8.891 kB / 1.355 GB, free: 15.3 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.7803, allocations: 134.3 kB / 1.355 GB, free: 15.14 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.7803, allocations: 8.375 kB / 1.355 GB, free: 15.14 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.7804, allocations: 384 / 1.355 GB, free: 15.14 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.7806, allocations: 94.19 kB / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.7806, allocations: 3.938 kB / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.7806, allocations: 0 / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.7806, allocations: 0 / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.7807, allocations: 83.92 kB / 1.355 GB, free: 14.95 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.7811, allocations: 287.8 kB / 1.355 GB, free: 14.63 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.7812, allocations: 54.53 kB / 1.355 GB, free: 14.57 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.025e-05/0.7813, allocations: 52.88 kB / 1.355 GB, free: 14.51 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/0.7814, allocations: 4 kB / 1.355 GB, free: 14.51 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.7814, allocations: 30.56 kB / 1.355 GB, free: 14.47 MB / 1.042 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.7814, allocations: 0 / 1.355 GB, free: 14.47 MB / 1.042 GB Notification: Performance of matching and sorting (n=3): time 0.0003255/0.7817, allocations: 133.6 kB / 1.356 GB, free: 14.33 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.7817, allocations: 51.41 kB / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.697e-05/0.7818, allocations: 121.8 kB / 1.356 GB, free: 14.14 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.7818, allocations: 25.7 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.517e-05/0.7819, allocations: 96.03 kB / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.7819, allocations: 15.89 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.7819, allocations: 17.72 kB / 1.356 GB, free: 13.97 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.519e-05/0.782, allocations: 318.8 kB / 1.356 GB, free: 13.65 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.558e-05/0.7821, allocations: 39.89 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.762e-05/0.7822, allocations: 31.97 kB / 1.356 GB, free: 13.58 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.7823, allocations: 76.77 kB / 1.356 GB, free: 13.5 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.7823, allocations: 0 / 1.356 GB, free: 13.5 MB / 1.042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001738/0.7825, allocations: 101.9 kB / 1.356 GB, free: 13.4 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.7825, allocations: 4 kB / 1.356 GB, free: 13.39 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.7825, allocations: 0 / 1.356 GB, free: 13.39 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.7825, allocations: 4.031 kB / 1.356 GB, free: 13.39 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.603e-05/0.7826, allocations: 23.97 kB / 1.356 GB, free: 13.37 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.7826, allocations: 3.938 kB / 1.356 GB, free: 13.36 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.623e-05/0.7827, allocations: 15.92 kB / 1.356 GB, free: 13.35 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.7827, allocations: 0 / 1.356 GB, free: 13.35 MB / 1.042 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 6.712e-05/0.7827, allocations: 118.3 kB / 1.357 GB, free: 13.22 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/0.7828, allocations: 7.953 kB / 1.357 GB, free: 13.21 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.783, allocations: 117.6 kB / 1.357 GB, free: 13.09 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.783, allocations: 0 / 1.357 GB, free: 13.09 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.783, allocations: 0 / 1.357 GB, free: 13.09 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.783, allocations: 0 / 1.357 GB, free: 13.09 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.7831, allocations: 148.7 kB / 1.357 GB, free: 12.9 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7831, allocations: 0 / 1.357 GB, free: 12.9 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.955e-05/0.7832, allocations: 15.98 kB / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.7832, allocations: 0 / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.7832, allocations: 0 / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.7832, allocations: 0 / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.7832, allocations: 15.92 kB / 1.357 GB, free: 12.87 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.7834, allocations: 199.4 kB / 1.357 GB, free: 12.66 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-06/0.7834, allocations: 0 / 1.357 GB, free: 12.66 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.7834, allocations: 7.984 kB / 1.357 GB, free: 12.65 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.135e-05/0.7835, allocations: 15.98 kB / 1.357 GB, free: 12.64 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.7835, allocations: 4 kB / 1.357 GB, free: 12.63 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.7835, allocations: 3.938 kB / 1.357 GB, free: 12.63 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.663e-05/0.7835, allocations: 95.27 kB / 1.357 GB, free: 12.54 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.7835, allocations: 0 / 1.357 GB, free: 12.54 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001684/0.7837, allocations: 19.83 kB / 1.357 GB, free: 12.52 MB / 1.042 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.0004604/0.7842, allocations: 0.7358 MB / 1.358 GB, free: 11.75 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002025/0.7844, allocations: 75.92 kB / 1.358 GB, free: 11.68 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.7844, allocations: 0 / 1.358 GB, free: 11.68 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 7.19e-05/0.7844, allocations: 39.95 kB / 1.358 GB, free: 11.64 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.7847, allocations: 8.766 kB / 1.358 GB, free: 11.63 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.7859, allocations: 1.429 MB / 1.359 GB, free: 10.12 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.235e-05/0.786, allocations: 75.33 kB / 1.36 GB, free: 10.03 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.497e-05/0.786, allocations: 16.27 kB / 1.36 GB, free: 10.02 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.028e-05/0.7861, allocations: 15.44 kB / 1.36 GB, free: 10 MB / 1.042 GB Notification: Performance of SimCode: time 6.21e-07/0.7861, allocations: 0 / 1.36 GB, free: 10 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08375/0.8698, allocations: 2.387 MB / 1.362 GB, free: 7.75 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.959/7.829, allocations: 8.125 kB / 1.362 GB, free: 7.746 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.Average.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Examples_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Examples_Average.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Average_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Average_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Average_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.Average_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Examples.Average_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Utilities_Math_Examples_Average.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.Average_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.004751774482429]