Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001743/0.001743, allocations: 116.8 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.002096/0.002096, allocations: 212 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.636/1.636, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.025/3.025, allocations: 0.5003 GB / 0.8026 GB, free: 6.715 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_latest_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.00237/0.00237, allocations: 75.91 kB / 1.165 GB, free: 460 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.218/1.22, allocations: 178.9 MB / 1.34 GB, free: 16.24 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002133/1.222, allocations: 0.8618 MB / 1.341 GB, free: 15.67 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001107/1.223, allocations: 0.9311 MB / 1.342 GB, free: 14.97 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.933e-05/1.224, allocations: 2.219 kB / 1.342 GB, free: 14.97 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001307/1.224, allocations: 9.844 kB / 1.342 GB, free: 14.96 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/1.224, allocations: 16.23 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000167/1.224, allocations: 59.47 kB / 1.342 GB, free: 14.92 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001739/1.224, allocations: 131.8 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/1.224, allocations: 34.52 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/1.224, allocations: 55.75 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/1.224, allocations: 87.88 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.776e-05/1.225, allocations: 12.06 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.441e-05/1.225, allocations: 11.5 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.247e-05/1.225, allocations: 38.19 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.312e-05/1.225, allocations: 50.38 kB / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/1.225, allocations: 144.6 kB / 1.343 GB, free: 14.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/1.225, allocations: 0.7969 kB / 1.343 GB, free: 14.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.654e-06/1.225, allocations: 9.062 kB / 1.343 GB, free: 14.65 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.382e-06/1.225, allocations: 0 / 1.343 GB, free: 14.65 MB / 1.061 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.000799/1.226, allocations: 445.1 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/1.226, allocations: 10.23 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.881e-05/1.226, allocations: 5.438 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.622e-05/1.226, allocations: 47.45 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.4e-05/1.226, allocations: 19.22 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/1.226, allocations: 206.3 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/1.226, allocations: 7.406 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/1.226, allocations: 9.969 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004584/1.227, allocations: 145.7 kB / 1.343 GB, free: 13.9 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/1.227, allocations: 0 / 1.343 GB, free: 13.9 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/1.227, allocations: 4 kB / 1.343 GB, free: 13.9 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/1.227, allocations: 6.609 kB / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005942/1.227, allocations: 155.7 kB / 1.344 GB, free: 13.86 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006504/1.228, allocations: 416.9 kB / 1.344 GB, free: 13.53 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008625/1.229, allocations: 168.2 kB / 1.344 GB, free: 13.47 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/1.229, allocations: 82.28 kB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/1.229, allocations: 5.375 kB / 1.344 GB, free: 13.44 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/1.229, allocations: 43 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/1.229, allocations: 1.375 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0009958/1.23, allocations: 279.5 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/1.23, allocations: 52.78 kB / 1.345 GB, free: 13.24 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/1.23, allocations: 152.7 kB / 1.345 GB, free: 13.11 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/1.23, allocations: 27.08 kB / 1.345 GB, free: 13.08 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/1.23, allocations: 105.7 kB / 1.345 GB, free: 12.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/1.23, allocations: 36.44 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.159e-05/1.23, allocations: 31.94 kB / 1.345 GB, free: 12.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.173e-05/1.23, allocations: 325.2 kB / 1.345 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/1.231, allocations: 74.66 kB / 1.345 GB, free: 12.59 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/1.231, allocations: 75.75 kB / 1.345 GB, free: 12.58 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005675/1.231, allocations: 166.1 kB / 1.345 GB, free: 12.53 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.231, allocations: 0 / 1.345 GB, free: 12.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006607/1.232, allocations: 204.6 kB / 1.346 GB, free: 12.45 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/1.232, allocations: 9.969 kB / 1.346 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/1.232, allocations: 0 / 1.346 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/1.232, allocations: 1.375 kB / 1.346 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/1.232, allocations: 34.83 kB / 1.346 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/1.232, allocations: 1.531 kB / 1.346 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/1.233, allocations: 23.02 kB / 1.346 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/1.233, allocations: 7.922 kB / 1.346 GB, free: 12.44 MB / 1.061 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.0001057/1.233, allocations: 123.8 kB / 1.346 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/1.233, allocations: 11.95 kB / 1.346 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.111e-05/1.233, allocations: 16.98 kB / 1.346 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/1.233, allocations: 0.9688 kB / 1.346 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.233, allocations: 1 kB / 1.346 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.233, allocations: 1.219 kB / 1.346 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/1.233, allocations: 237.7 kB / 1.346 GB, free: 12.08 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/1.233, allocations: 0.6562 kB / 1.346 GB, free: 12.08 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/1.233, allocations: 44.69 kB / 1.346 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/1.233, allocations: 0 / 1.346 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/1.233, allocations: 3.781 kB / 1.346 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/1.233, allocations: 0 / 1.346 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.233, allocations: 5.172 kB / 1.346 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006929/1.234, allocations: 314.1 kB / 1.346 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.073e-05/1.234, allocations: 85.03 kB / 1.347 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/1.234, allocations: 1.438 kB / 1.347 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/1.234, allocations: 22.06 kB / 1.347 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/1.235, allocations: 30.33 kB / 1.347 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/1.235, allocations: 4.562 kB / 1.347 GB, free: 11.77 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.198e-05/1.235, allocations: 119.7 kB / 1.347 GB, free: 11.68 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/1.235, allocations: 0 / 1.347 GB, free: 11.68 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002525/1.235, allocations: 26.83 kB / 1.347 GB, free: 11.67 MB / 1.061 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.0008937/1.236, allocations: 0.8418 MB / 1.348 GB, free: 10.96 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006611/1.236, allocations: 168.3 kB / 1.348 GB, free: 10.93 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.236, allocations: 4 kB / 1.348 GB, free: 10.92 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003375/1.237, allocations: 95.02 kB / 1.348 GB, free: 10.9 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/1.237, allocations: 16.77 kB / 1.348 GB, free: 10.89 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002946/1.24, allocations: 1.854 MB / 1.35 GB, free: 9.508 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/1.24, allocations: 0.707 MB / 1.35 GB, free: 8.809 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000111/1.24, allocations: 20.03 kB / 1.35 GB, free: 8.805 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/1.24, allocations: 44.84 kB / 1.35 GB, free: 8.777 MB / 1.061 GB Notification: Performance of SimCode: time 9.22e-07/1.24, allocations: 1.188 kB / 1.35 GB, free: 8.777 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/1.265, allocations: 3.869 MB / 1.354 GB, free: 8.25 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.362/9.627, allocations: 5.844 kB / 1.354 GB, free: 8.25 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.418606771039777] Failed to read output from testmodel.py, exit status != 0: 9.770856236980762 9.783876333 8.556447207 Calling exit ...