Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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: 117.1 kB / 17.16 MB, free: 5.895 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.001897/0.001897, allocations: 215 kB / 20.13 MB, free: 2.949 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.581/1.581, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.871/2.871, allocations: 476.7 MB / 0.7678 GB, free: 9.363 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002132/0.002132, allocations: 63.91 kB / 1.113 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.007, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.00222/1.01, allocations: 0.8562 MB / 1.28 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001362/1.011, allocations: 0.933 MB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.668e-05/1.011, allocations: 1.875 kB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/1.011, allocations: 11.06 kB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/1.011, allocations: 16.25 kB / 1.281 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/1.011, allocations: 58.36 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002054/1.012, allocations: 132.3 kB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/1.012, allocations: 34.55 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/1.012, allocations: 55.8 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/1.012, allocations: 84.08 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/1.012, allocations: 12.47 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.431e-05/1.012, allocations: 15.19 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.257e-05/1.012, allocations: 39.33 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.265e-05/1.012, allocations: 49.33 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002431/1.012, allocations: 152.6 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.012, allocations: 0.7188 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/1.012, allocations: 0 / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.891e-06/1.012, allocations: 0 / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009527/1.013, allocations: 449 kB / 1.282 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/1.013, allocations: 9.75 kB / 1.282 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.791e-05/1.013, allocations: 6.375 kB / 1.282 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.471e-05/1.014, allocations: 39.62 kB / 1.282 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.607e-05/1.014, allocations: 12.12 kB / 1.282 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/1.014, allocations: 214.5 kB / 1.282 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/1.014, allocations: 3.906 kB / 1.282 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.436e-05/1.014, allocations: 13.25 kB / 1.282 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005359/1.014, allocations: 151.3 kB / 1.282 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/1.014, allocations: 0.5312 kB / 1.282 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/1.015, allocations: 4.5 kB / 1.282 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/1.015, allocations: 2.797 kB / 1.282 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007288/1.015, allocations: 158.7 kB / 1.282 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007961/1.016, allocations: 417 kB / 1.283 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009304/1.017, allocations: 171.9 kB / 1.283 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/1.017, allocations: 81.89 kB / 1.283 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/1.017, allocations: 1.25 kB / 1.283 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/1.017, allocations: 40.58 kB / 1.283 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/1.017, allocations: 0 / 1.283 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.001073/1.018, allocations: 275.2 kB / 1.283 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/1.018, allocations: 53.34 kB / 1.283 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/1.019, allocations: 152.6 kB / 1.283 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/1.019, allocations: 25.7 kB / 1.284 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/1.019, allocations: 109.7 kB / 1.284 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/1.019, allocations: 29.27 kB / 1.284 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.456e-05/1.019, allocations: 35.41 kB / 1.284 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001589/1.019, allocations: 321 kB / 1.284 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003131/1.019, allocations: 79.09 kB / 1.284 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/1.02, allocations: 75.89 kB / 1.284 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006006/1.02, allocations: 157.1 kB / 1.284 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.02, allocations: 6.172 kB / 1.284 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00068/1.021, allocations: 207.5 kB / 1.284 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/1.021, allocations: 7.375 kB / 1.284 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/1.021, allocations: 1.406 kB / 1.285 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/1.021, allocations: 0 / 1.285 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/1.021, allocations: 40.27 kB / 1.285 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/1.021, allocations: 3.938 kB / 1.285 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/1.021, allocations: 23.31 kB / 1.285 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/1.021, allocations: 8.172 kB / 1.285 GB, free: 7.961 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.00013/1.022, allocations: 121 kB / 1.285 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.536e-05/1.022, allocations: 17.72 kB / 1.285 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.814e-05/1.022, allocations: 20.52 kB / 1.285 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.022, allocations: 1.938 kB / 1.285 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.022, allocations: 0 / 1.285 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/1.022, allocations: 0.5625 kB / 1.285 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/1.022, allocations: 238.8 kB / 1.285 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/1.022, allocations: 0.6562 kB / 1.285 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/1.022, allocations: 35.52 kB / 1.285 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.022, allocations: 1.875 kB / 1.285 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/1.022, allocations: 3.062 kB / 1.285 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.022, allocations: 0 / 1.285 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.022, allocations: 9.328 kB / 1.285 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000777/1.023, allocations: 301 kB / 1.285 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/1.023, allocations: 89.16 kB / 1.285 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/1.023, allocations: 6.047 kB / 1.285 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/1.023, allocations: 22.86 kB / 1.285 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/1.023, allocations: 33.89 kB / 1.285 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/1.023, allocations: 9.312 kB / 1.285 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.644e-05/1.024, allocations: 115 kB / 1.286 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.024, allocations: 0 / 1.286 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002572/1.024, allocations: 18.84 kB / 1.286 GB, free: 7.191 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001135/1.025, allocations: 0.8468 MB / 1.286 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006949/1.026, allocations: 167.4 kB / 1.287 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.026, allocations: 1.188 kB / 1.287 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003481/1.026, allocations: 103.5 kB / 1.287 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/1.026, allocations: 20.77 kB / 1.287 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/1.03, allocations: 1.855 MB / 1.288 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/1.03, allocations: 0.7044 MB / 1.289 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00013/1.03, allocations: 24.66 kB / 1.289 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/1.03, allocations: 49.97 kB / 1.289 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/1.03, allocations: 0 / 1.289 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/1.053, allocations: 3.864 MB / 1.293 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.465/9.518, allocations: 11.02 kB / 1.293 GB, free: 3.754 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.986735218029935] Failed to read output from testmodel.py, exit status != 0: 9.648715342977084 9.664219481 8.648531849 Calling exit ...