Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001491/0.001491, allocations: 83.97 kB / 19.76 MB, free: 2.023 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.001563/0.001563, allocations: 160.5 kB / 23.01 MB, free: 4.953 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.364/1.364, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00234/0.00234, allocations: 236.7 kB / 260 MB, free: 444 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8842/0.8842, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average") translateModel(BuildingSystems.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003126/0.003126, allocations: 107.8 kB / 0.6474 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3829, allocations: 95.34 MB / 0.7405 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Average): time 0.002476/0.3854, allocations: 1.557 MB / 0.742 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0003122/0.3857, allocations: 118 kB / 0.7421 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.915e-05/0.3857, allocations: 0.9688 kB / 0.7421 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.3858, allocations: 7.359 kB / 0.7421 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 2.757e-05/0.3859, allocations: 10.39 kB / 0.7421 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.3861, allocations: 25.36 kB / 0.7421 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.77e-05/0.3862, allocations: 59.08 kB / 0.7422 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3863, allocations: 21.72 kB / 0.7422 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.296e-05/0.3863, allocations: 23.23 kB / 0.7422 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.462e-05/0.3864, allocations: 32.77 kB / 0.7423 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.3864, allocations: 4.156 kB / 0.7423 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 5.834e-05/0.3865, allocations: 10.81 kB / 0.7423 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.216e-05/0.3865, allocations: 19.42 kB / 0.7423 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.3865, allocations: 17.03 kB / 0.7423 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.3867, allocations: 61.92 kB / 0.7424 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3867, allocations: 0 / 0.7424 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3867, allocations: 0 / 0.7424 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.3867, allocations: 3.938 kB / 0.7424 GB, free: 16.16 MB / 0.5919 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.0004352/0.3871, allocations: 303.6 kB / 0.7427 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.3871, allocations: 11.3 kB / 0.7427 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.3872, allocations: 8.547 kB / 0.7427 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.3873, allocations: 129.8 kB / 0.7428 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.3873, allocations: 2.75 kB / 0.7428 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.3873, allocations: 6.719 kB / 0.7428 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.3876, allocations: 82.38 kB / 0.7429 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.619e-06/0.3876, allocations: 8.781 kB / 0.7429 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.3876, allocations: 9.031 kB / 0.7429 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3876, allocations: 5.156 kB / 0.7429 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.3879, allocations: 83.14 kB / 0.743 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.3883, allocations: 260.6 kB / 0.7432 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.3885, allocations: 66.02 kB / 0.7433 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.3887, allocations: 37.47 kB / 0.7433 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.3887, allocations: 3.406 kB / 0.7433 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.3887, allocations: 31.66 kB / 0.7434 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3887, allocations: 0 / 0.7434 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0005639/0.3893, allocations: 138.9 kB / 0.7435 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.3893, allocations: 53.31 kB / 0.7436 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.229e-05/0.3894, allocations: 123.7 kB / 0.7437 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.3894, allocations: 26.89 kB / 0.7437 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.79e-05/0.3894, allocations: 100.5 kB / 0.7438 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.3894, allocations: 7.578 kB / 0.7438 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.3894, allocations: 16.86 kB / 0.7438 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.508e-05/0.3895, allocations: 319 kB / 0.7441 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.3896, allocations: 36.41 kB / 0.7442 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.3898, allocations: 39.27 kB / 0.7442 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.39, allocations: 72.95 kB / 0.7443 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.39, allocations: 1.875 kB / 0.7443 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003249/0.3904, allocations: 105.4 kB / 0.7444 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3904, allocations: 5.75 kB / 0.7444 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3904, allocations: 1.531 kB / 0.7444 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3904, allocations: 3.938 kB / 0.7444 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.3905, allocations: 16.27 kB / 0.7444 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3905, allocations: 0.6562 kB / 0.7444 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.646e-05/0.3906, allocations: 15.42 kB / 0.7444 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.3906, allocations: 1.859 kB / 0.7444 GB, free: 14.56 MB / 0.5919 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 4.723e-05/0.3907, allocations: 118.7 kB / 0.7445 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.3907, allocations: 7.547 kB / 0.7445 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003583/0.391, allocations: 110 kB / 0.7446 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.391, allocations: 1.531 kB / 0.7446 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.391, allocations: 4.797 kB / 0.7446 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.391, allocations: 0 / 0.7446 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.3912, allocations: 123.3 kB / 0.7448 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3912, allocations: 0 / 0.7448 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.393e-05/0.3913, allocations: 20.33 kB / 0.7448 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3913, allocations: 0 / 0.7448 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.3913, allocations: 0 / 0.7448 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.3913, allocations: 10.36 kB / 0.7448 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3913, allocations: 0 / 0.7448 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.3916, allocations: 206.6 kB / 0.745 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-06/0.3916, allocations: 7.578 kB / 0.745 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.3916, allocations: 0.5625 kB / 0.745 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3917, allocations: 15.02 kB / 0.745 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.3917, allocations: 9.391 kB / 0.745 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.3918, allocations: 1.281 kB / 0.745 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.137e-05/0.3918, allocations: 92.03 kB / 0.7451 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3918, allocations: 4 kB / 0.7451 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002257/0.392, allocations: 13.09 kB / 0.7451 GB, free: 13.98 MB / 0.5919 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 8.033e-05/0.3921, allocations: 97.92 kB / 0.7452 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003483/0.3924, allocations: 77.8 kB / 0.7453 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3924, allocations: 0 / 0.7453 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.3926, allocations: 42.11 kB / 0.7453 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.3928, allocations: 11.25 kB / 0.7453 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.3931, allocations: 150.6 kB / 0.7455 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.634e-05/0.3932, allocations: 73.22 kB / 0.7456 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.76e-05/0.3932, allocations: 10.97 kB / 0.7456 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.3932, allocations: 11.25 kB / 0.7456 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.3932, allocations: 4 kB / 0.7456 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of Templates: time 0.003199/0.3964, allocations: 0.817 MB / 0.7464 GB, free: 13.54 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.382185437018052] Failed to read output from testmodel.py, exit status != 0: 0.40391681902110577 0.418504956 0.028436896000000003 Calling exit ...