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.001377/0.001377, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001464/0.001464, allocations: 221.5 kB / 23.05 MB, free: 5.074 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.248/3.248, allocations: 0.5003 GB / 0.8061 GB, free: 26.86 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.001939/0.001939, allocations: 61.7 kB / 1.171 GB, free: 19.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3896, allocations: 179 MB / 1.345 GB, free: 0.5117 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002262/0.3919, allocations: 0.8613 MB / 1.346 GB, free: 15.65 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.3932, allocations: 0.9211 MB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.824e-05/0.3933, allocations: 7.938 kB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.3934, allocations: 11.88 kB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.3935, allocations: 23.84 kB / 1.347 GB, free: 14.67 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.3937, allocations: 55.88 kB / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.3939, allocations: 131.7 kB / 1.347 GB, free: 14.49 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.3941, allocations: 33.05 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.426e-05/0.3942, allocations: 55.83 kB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.3943, allocations: 83.67 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.3944, allocations: 12 kB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.232e-05/0.3944, allocations: 12 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.883e-05/0.3945, allocations: 43.83 kB / 1.348 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.578e-05/0.3945, allocations: 51.72 kB / 1.348 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.3948, allocations: 147.6 kB / 1.348 GB, free: 14.06 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3948, allocations: 4 kB / 1.348 GB, free: 14.05 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3948, allocations: 0 / 1.348 GB, free: 14.05 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.3948, allocations: 0 / 1.348 GB, free: 14.05 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.0008853/0.3957, allocations: 373.7 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/0.3957, allocations: 15.97 kB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.489e-05/0.3957, allocations: 4.188 kB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.303e-05/0.3958, allocations: 38.73 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.3958, allocations: 16.84 kB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.3961, allocations: 154.6 kB / 1.348 GB, free: 13.4 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.3961, allocations: 8 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.3961, allocations: 4 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004447/0.3965, allocations: 153.5 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.3966, allocations: 0 / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.3966, allocations: 0 / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.3966, allocations: 4 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000563/0.3971, allocations: 155.8 kB / 1.349 GB, free: 13.08 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006809/0.3978, allocations: 387.5 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008756/0.3987, allocations: 170.5 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.399, allocations: 88.88 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.399, allocations: 0 / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.399, allocations: 34.5 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.399, allocations: 0 / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.001019/0.4001, allocations: 281.5 kB / 1.35 GB, free: 12.07 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.4001, allocations: 55.78 kB / 1.35 GB, free: 12 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.4003, allocations: 148.6 kB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.4003, allocations: 25.7 kB / 1.35 GB, free: 11.81 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.723e-05/0.4004, allocations: 112 kB / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.4004, allocations: 35.73 kB / 1.35 GB, free: 11.66 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.8e-05/0.4005, allocations: 25.7 kB / 1.35 GB, free: 11.63 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4006, allocations: 322.8 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.4009, allocations: 75.86 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/0.4012, allocations: 79.92 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005245/0.4017, allocations: 148.7 kB / 1.351 GB, free: 11 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4017, allocations: 3.938 kB / 1.351 GB, free: 11 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00061/0.4023, allocations: 213.4 kB / 1.351 GB, free: 10.79 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.4023, allocations: 4 kB / 1.351 GB, free: 10.78 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.4023, allocations: 0 / 1.351 GB, free: 10.78 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.4023, allocations: 0 / 1.351 GB, free: 10.78 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.4026, allocations: 35.95 kB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.4026, allocations: 0 / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.4028, allocations: 35.86 kB / 1.351 GB, free: 10.71 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.4028, allocations: 4 kB / 1.351 GB, free: 10.71 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.0001289/0.4029, allocations: 125.8 kB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.403, allocations: 15.89 kB / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.257e-05/0.403, allocations: 12.72 kB / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.403, allocations: 8 kB / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.403, allocations: 0 / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.403, allocations: 4 kB / 1.351 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.4033, allocations: 208.8 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.4033, allocations: 0 / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.4036, allocations: 43.94 kB / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4036, allocations: 3.938 kB / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.4036, allocations: 0 / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.4036, allocations: 0 / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4036, allocations: 3.984 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006627/0.4043, allocations: 303.2 kB / 1.351 GB, free: 9.922 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.4043, allocations: 19.88 kB / 1.352 GB, free: 9.902 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.4043, allocations: 0 / 1.352 GB, free: 9.902 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.4045, allocations: 19.97 kB / 1.352 GB, free: 9.883 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.4046, allocations: 39.95 kB / 1.352 GB, free: 9.844 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.4046, allocations: 4 kB / 1.352 GB, free: 9.84 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.891e-05/0.4047, allocations: 113.4 kB / 1.352 GB, free: 9.73 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4047, allocations: 4 kB / 1.352 GB, free: 9.727 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002529/0.405, allocations: 23.95 kB / 1.352 GB, free: 9.703 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.001024/0.406, allocations: 0.8333 MB / 1.353 GB, free: 8.844 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006224/0.4066, allocations: 171.8 kB / 1.353 GB, free: 8.676 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4066, allocations: 0 / 1.353 GB, free: 8.676 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003181/0.4069, allocations: 92.3 kB / 1.353 GB, free: 8.586 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.4073, allocations: 24.09 kB / 1.353 GB, free: 8.562 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/0.4104, allocations: 1.854 MB / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.4107, allocations: 0.7117 MB / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001077/0.4108, allocations: 16.44 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.411, allocations: 47.41 kB / 1.355 GB, free: 5.824 MB / 1.045 GB Notification: Performance of SimCode: time 6.31e-07/0.411, allocations: 0 / 1.355 GB, free: 5.824 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/0.4377, allocations: 4.017 MB / 1.359 GB, free: 1.965 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.54, allocations: 12.75 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.501351154991426] Failed to read output from testmodel.py, exit status != 0: 11.701289332995657 11.729130436 11.328677843 Calling exit ...