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.001735/0.001735, 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.002128/0.002128, 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.827/2.827, allocations: 476.8 MB / 0.7715 GB, free: 3.863 MB / 0.6231 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.00201/0.00201, allocations: 68.16 kB / 1.118 GB, free: 39.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3832, allocations: 169.9 MB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002631/0.3858, allocations: 0.8163 MB / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.387, allocations: 0.9132 MB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.746e-05/0.3871, allocations: 8 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.3872, allocations: 7.875 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.3873, allocations: 27.8 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.3875, allocations: 55.92 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.3877, allocations: 127.7 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.3879, allocations: 28.81 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.614e-05/0.388, allocations: 59.83 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.3881, allocations: 79.72 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.3882, allocations: 12 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.642e-05/0.3882, allocations: 16 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.143e-05/0.3883, allocations: 39.78 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.647e-05/0.3884, allocations: 51.77 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.3886, allocations: 140.8 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3886, allocations: 0 / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3886, allocations: 0 / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3886, allocations: 0 / 1.286 GB, free: 8.223 MB / 0.9825 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.0009096/0.3895, allocations: 373.7 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.3895, allocations: 12.03 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.705e-05/0.3896, allocations: 8.188 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.876e-05/0.3896, allocations: 46.73 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.3897, allocations: 12.89 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.3899, allocations: 149.8 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.3899, allocations: 11.98 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.39, allocations: 11.94 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005143/0.3905, allocations: 151.4 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3905, allocations: 0 / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.3905, allocations: 8 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.3905, allocations: 4 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005384/0.391, allocations: 155.8 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006803/0.3917, allocations: 355.7 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008779/0.3926, allocations: 180.2 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.3929, allocations: 80.86 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.3929, allocations: 4 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.3929, allocations: 34.5 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.3929, allocations: 0 / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.001003/0.3939, allocations: 277.5 kB / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.394, allocations: 59.34 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.3942, allocations: 146.4 kB / 1.288 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.3942, allocations: 29.7 kB / 1.288 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.983e-05/0.3943, allocations: 112 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.3943, allocations: 27.8 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-05/0.3944, allocations: 29.7 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.3945, allocations: 322.8 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.3948, allocations: 71.92 kB / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.3951, allocations: 79.92 kB / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005113/0.3956, allocations: 153.2 kB / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3956, allocations: 4 kB / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006029/0.3962, allocations: 209.3 kB / 1.289 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3962, allocations: 10.33 kB / 1.289 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3962, allocations: 0 / 1.289 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3962, allocations: 0 / 1.289 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.3965, allocations: 43.89 kB / 1.289 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3965, allocations: 0 / 1.289 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.3966, allocations: 31.84 kB / 1.289 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.3967, allocations: 4 kB / 1.289 GB, free: 4.887 MB / 0.9825 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.000125/0.3968, allocations: 126.9 kB / 1.29 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.3968, allocations: 15.84 kB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.121e-05/0.3969, allocations: 16.72 kB / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3969, allocations: 0 / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3969, allocations: 0 / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3969, allocations: 0 / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.3971, allocations: 188.6 kB / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3971, allocations: 4 kB / 1.29 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.3974, allocations: 43.89 kB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3974, allocations: 0 / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.3974, allocations: 11.98 kB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.3974, allocations: 0 / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3974, allocations: 0 / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007214/0.3981, allocations: 303.2 kB / 1.29 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.3982, allocations: 19.84 kB / 1.29 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.3982, allocations: 0 / 1.29 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.3984, allocations: 19.97 kB / 1.29 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.3985, allocations: 35.95 kB / 1.29 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.3985, allocations: 0 / 1.29 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001103/0.3987, allocations: 113.7 kB / 1.29 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3987, allocations: 0 / 1.29 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002611/0.3989, allocations: 24 kB / 1.29 GB, free: 3.914 MB / 0.9825 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.001087/0.4, allocations: 0.8451 MB / 1.291 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006059/0.4006, allocations: 167.8 kB / 1.291 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4006, allocations: 0 / 1.291 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003096/0.4009, allocations: 99.84 kB / 1.291 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.4012, allocations: 15.98 kB / 1.291 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.4044, allocations: 1.842 MB / 1.293 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.4045, allocations: 97.55 kB / 1.293 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001155/0.4046, allocations: 28.42 kB / 1.293 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.4047, allocations: 47.39 kB / 1.293 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/0.4047, allocations: 0 / 1.293 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02635/0.4311, allocations: 4.166 MB / 1.297 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.72, allocations: 14.38 kB / 1.298 GB, free: 12.64 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.647449591895565] Failed to read output from testmodel.py, exit status != 0: 12.522203095955774 11.897635389 11.505896334 Calling exit ...