Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001727/0.001727, 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.002633/0.002633, 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.556/1.556, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3/3, allocations: 0.49 GB / 0.7923 GB, free: 1.352 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_12_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.002095/0.002095, allocations: 71.89 kB / 1.15 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.014, allocations: 176.1 MB / 1.321 GB, free: 24.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002246/1.016, allocations: 0.8446 MB / 1.322 GB, free: 24.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001355/1.017, allocations: 0.9392 MB / 1.323 GB, free: 23.53 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.819e-05/1.018, allocations: 0 / 1.323 GB, free: 23.53 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001163/1.018, allocations: 11.25 kB / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/1.018, allocations: 14.78 kB / 1.323 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/1.018, allocations: 56.14 kB / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/1.018, allocations: 132.8 kB / 1.323 GB, free: 23.42 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/1.018, allocations: 35.86 kB / 1.323 GB, free: 23.4 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.38e-05/1.018, allocations: 61.84 kB / 1.324 GB, free: 23.37 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/1.018, allocations: 76.62 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.397e-05/1.018, allocations: 12.09 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.083e-05/1.018, allocations: 13.94 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.618e-05/1.019, allocations: 38.56 kB / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.049e-05/1.019, allocations: 52.47 kB / 1.324 GB, free: 23.28 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/1.019, allocations: 153 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.019, allocations: 0 / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.923e-06/1.019, allocations: 0 / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.821e-06/1.019, allocations: 0 / 1.324 GB, free: 23.21 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.0008178/1.02, allocations: 448.4 kB / 1.324 GB, free: 22.81 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.02, allocations: 14.64 kB / 1.324 GB, free: 22.8 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.605e-05/1.02, allocations: 10.66 kB / 1.324 GB, free: 22.8 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.062e-05/1.02, allocations: 41.22 kB / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/1.02, allocations: 17.03 kB / 1.324 GB, free: 22.74 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/1.02, allocations: 208.7 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/1.02, allocations: 10.94 kB / 1.325 GB, free: 22.51 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/1.02, allocations: 9.5 kB / 1.325 GB, free: 22.51 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004262/1.02, allocations: 144.8 kB / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/1.02, allocations: 0 / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/1.02, allocations: 4 kB / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/1.02, allocations: 2.375 kB / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005409/1.021, allocations: 159.4 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006186/1.022, allocations: 414.6 kB / 1.325 GB, free: 22.08 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008437/1.022, allocations: 172.7 kB / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/1.023, allocations: 82.28 kB / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/1.023, allocations: 0 / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/1.023, allocations: 42.5 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/1.023, allocations: 2.594 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0009703/1.024, allocations: 272.1 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/1.024, allocations: 55.41 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/1.024, allocations: 152.7 kB / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/1.024, allocations: 32.27 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/1.024, allocations: 105.9 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/1.024, allocations: 36.11 kB / 1.326 GB, free: 21.51 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-05/1.024, allocations: 32.33 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.135e-05/1.024, allocations: 320.8 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/1.024, allocations: 74.38 kB / 1.327 GB, free: 21.15 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/1.025, allocations: 78.28 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005108/1.025, allocations: 160.4 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.025, allocations: 0 / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005796/1.026, allocations: 203.3 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/1.026, allocations: 5.156 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/1.026, allocations: 0 / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/1.026, allocations: 7.281 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/1.026, allocations: 37.42 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/1.026, allocations: 0.5312 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/1.026, allocations: 21.3 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/1.026, allocations: 6.875 kB / 1.327 GB, free: 21 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 9.026e-05/1.026, allocations: 119.6 kB / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/1.026, allocations: 20.78 kB / 1.327 GB, free: 20.87 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.075e-05/1.026, allocations: 15.69 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/1.026, allocations: 1.188 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/1.026, allocations: 0 / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/1.026, allocations: 4.922 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/1.027, allocations: 237.9 kB / 1.327 GB, free: 20.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.027, allocations: 4.688 kB / 1.327 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/1.027, allocations: 37.53 kB / 1.328 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/1.027, allocations: 0 / 1.328 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/1.027, allocations: 9.25 kB / 1.328 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/1.027, allocations: 4.625 kB / 1.328 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/1.027, allocations: 0 / 1.328 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006809/1.028, allocations: 309.5 kB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/1.028, allocations: 88.22 kB / 1.328 GB, free: 20.33 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/1.028, allocations: 0.625 kB / 1.328 GB, free: 20.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/1.028, allocations: 25.31 kB / 1.328 GB, free: 20.33 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/1.028, allocations: 28.86 kB / 1.328 GB, free: 20.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/1.028, allocations: 10.25 kB / 1.328 GB, free: 20.31 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.946e-05/1.028, allocations: 115.6 kB / 1.328 GB, free: 20.23 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.028, allocations: 0 / 1.328 GB, free: 20.23 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002668/1.028, allocations: 18.75 kB / 1.328 GB, free: 20.23 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.0009352/1.029, allocations: 0.8458 MB / 1.329 GB, free: 19.52 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006895/1.03, allocations: 166.4 kB / 1.329 GB, free: 19.48 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.03, allocations: 0 / 1.329 GB, free: 19.48 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003422/1.03, allocations: 100 kB / 1.329 GB, free: 19.46 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/1.031, allocations: 21.98 kB / 1.329 GB, free: 19.45 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002902/1.034, allocations: 1.858 MB / 1.331 GB, free: 18.05 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/1.034, allocations: 0.7026 MB / 1.332 GB, free: 17.36 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001113/1.034, allocations: 25.2 kB / 1.332 GB, free: 17.35 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/1.034, allocations: 48.69 kB / 1.332 GB, free: 17.32 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/1.034, allocations: 0.625 kB / 1.332 GB, free: 17.32 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/1.056, allocations: 3.867 MB / 1.336 GB, free: 16.79 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.503/9.558, allocations: 10.38 kB / 1.336 GB, free: 16.79 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.19807106402004] Failed to read output from testmodel.py, exit status != 0: 9.689613035996445 9.710016442 8.687409997 Calling exit ...