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.001379/0.001379, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001574/0.001574, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.272/3.272, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 MB / 0.6231 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.001937/0.001937, allocations: 66.56 kB / 1.171 GB, free: 19.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3703, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.003227/0.3735, allocations: 0.829 MB / 1.346 GB, free: 15.11 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.3752, allocations: 0.9172 MB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.695e-05/0.3753, allocations: 4 kB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.3754, allocations: 11.88 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.3755, allocations: 19.78 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.3758, allocations: 59.92 kB / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.376, allocations: 127.7 kB / 1.347 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.3762, allocations: 33.05 kB / 1.347 GB, free: 13.93 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.3763, allocations: 59.83 kB / 1.347 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.3765, allocations: 83.66 kB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.075e-05/0.3766, allocations: 12 kB / 1.347 GB, free: 13.78 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.004e-05/0.3766, allocations: 16 kB / 1.347 GB, free: 13.76 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.62e-05/0.3767, allocations: 35.91 kB / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.321e-05/0.3768, allocations: 47.7 kB / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.377, allocations: 147.7 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3771, allocations: 0 / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3771, allocations: 0 / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.3771, allocations: 0 / 1.348 GB, free: 13.54 MB / 1.045 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.001058/0.3781, allocations: 369.7 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.3782, allocations: 12.03 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.002e-05/0.3782, allocations: 4.188 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.573e-05/0.3782, allocations: 46.67 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.3783, allocations: 12.84 kB / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.3786, allocations: 151.4 kB / 1.348 GB, free: 12.89 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.3786, allocations: 8 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.3786, allocations: 8 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004909/0.3791, allocations: 150.8 kB / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.3791, allocations: 7.875 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.3791, allocations: 4 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3791, allocations: 0 / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005671/0.3797, allocations: 155.8 kB / 1.349 GB, free: 12.56 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007066/0.3804, allocations: 367.5 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008927/0.3813, allocations: 170.6 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.3816, allocations: 80.86 kB / 1.349 GB, free: 11.9 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.3816, allocations: 0 / 1.349 GB, free: 11.9 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.3816, allocations: 46.44 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.3816, allocations: 0 / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.0009778/0.3826, allocations: 273.5 kB / 1.349 GB, free: 11.57 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.3827, allocations: 51.41 kB / 1.349 GB, free: 11.51 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.3828, allocations: 156.4 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.3829, allocations: 29.7 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.495e-05/0.383, allocations: 108 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.383, allocations: 27.8 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.803e-05/0.3831, allocations: 33.7 kB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.3833, allocations: 318.8 kB / 1.35 GB, free: 10.81 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003036/0.3836, allocations: 75.92 kB / 1.35 GB, free: 10.73 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/0.3838, allocations: 75.92 kB / 1.35 GB, free: 10.66 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005308/0.3844, allocations: 161.2 kB / 1.35 GB, free: 10.5 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3844, allocations: 0 / 1.35 GB, free: 10.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006043/0.385, allocations: 205.4 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.385, allocations: 11.98 kB / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.385, allocations: 0 / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.385, allocations: 0 / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.3853, allocations: 35.95 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3853, allocations: 0 / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.3855, allocations: 31.86 kB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.3855, allocations: 8 kB / 1.351 GB, free: 10.21 MB / 1.045 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.0001253/0.3856, allocations: 117.8 kB / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.3857, allocations: 15.89 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.381e-05/0.3857, allocations: 12.72 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.3857, allocations: 4 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3858, allocations: 3.938 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3858, allocations: 0 / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.386, allocations: 200.6 kB / 1.351 GB, free: 9.805 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.386, allocations: 4 kB / 1.351 GB, free: 9.801 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.3863, allocations: 39.89 kB / 1.351 GB, free: 9.762 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3863, allocations: 0 / 1.351 GB, free: 9.762 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.3863, allocations: 3.984 kB / 1.351 GB, free: 9.758 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3863, allocations: 0 / 1.351 GB, free: 9.758 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3863, allocations: 0 / 1.351 GB, free: 9.758 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006867/0.387, allocations: 307.2 kB / 1.351 GB, free: 9.441 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/0.387, allocations: 11.89 kB / 1.351 GB, free: 9.43 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.387, allocations: 4 kB / 1.351 GB, free: 9.426 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.3872, allocations: 19.97 kB / 1.351 GB, free: 9.406 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.3874, allocations: 35.94 kB / 1.351 GB, free: 9.371 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.3874, allocations: 4.188 kB / 1.351 GB, free: 9.367 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.809e-05/0.3875, allocations: 117.5 kB / 1.352 GB, free: 9.254 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3875, allocations: 3.938 kB / 1.352 GB, free: 9.25 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002577/0.3877, allocations: 27.95 kB / 1.352 GB, free: 9.223 MB / 1.045 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.001125/0.3889, allocations: 0.8294 MB / 1.352 GB, free: 8.367 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006375/0.3895, allocations: 171.8 kB / 1.353 GB, free: 8.199 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3895, allocations: 4 kB / 1.353 GB, free: 8.195 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003326/0.3898, allocations: 95.84 kB / 1.353 GB, free: 8.102 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.3902, allocations: 19.58 kB / 1.353 GB, free: 8.086 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/0.3936, allocations: 1.845 MB / 1.354 GB, free: 6.156 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.3938, allocations: 96.98 kB / 1.355 GB, free: 6.039 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.394, allocations: 24.42 kB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.3942, allocations: 47.41 kB / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of SimCode: time 8.62e-07/0.3942, allocations: 0 / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03731/0.4315, allocations: 4.171 MB / 1.359 GB, free: 1.965 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.94, allocations: 8.625 kB / 1.359 GB, free: 1.957 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.941133074928075] Failed to read output from testmodel.py, exit status != 0: 12.102138478076085 12.118525076 11.738173762 Calling exit ...