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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 225.6 MB / 249.4 MB, free: 3.277 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.823/2.823, allocations: 476.7 MB / 0.7629 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 63.89 kB / 1.107 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065/1.067, allocations: 168.7 MB / 1.272 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.00245/1.07, allocations: 0.8608 MB / 1.272 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001205/1.071, allocations: 0.9083 MB / 1.273 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.816e-05/1.071, allocations: 1.562 kB / 1.273 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/1.071, allocations: 14.95 kB / 1.273 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001204/1.071, allocations: 15.69 kB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/1.071, allocations: 58.84 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00021/1.071, allocations: 132.4 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/1.072, allocations: 28.52 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.963e-05/1.072, allocations: 58.86 kB / 1.274 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/1.072, allocations: 79.5 kB / 1.274 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.274e-05/1.072, allocations: 15.19 kB / 1.274 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.898e-05/1.072, allocations: 12.41 kB / 1.274 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.037e-05/1.072, allocations: 34.67 kB / 1.274 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.722e-05/1.072, allocations: 58.09 kB / 1.274 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002303/1.072, allocations: 145.3 kB / 1.274 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/1.072, allocations: 0.875 kB / 1.274 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/1.072, allocations: 0 / 1.274 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.682e-06/1.072, allocations: 0 / 1.274 GB, free: 6.367 MB / 0.9981 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.0008061/1.073, allocations: 447.3 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/1.073, allocations: 9.312 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.63e-05/1.073, allocations: 37.28 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/1.073, allocations: 19.53 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/1.073, allocations: 209.8 kB / 1.275 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/1.073, allocations: 12.81 kB / 1.275 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/1.073, allocations: 8.656 kB / 1.275 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004353/1.074, allocations: 151.2 kB / 1.275 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/1.074, allocations: 0.875 kB / 1.275 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/1.074, allocations: 4.75 kB / 1.275 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/1.074, allocations: 1.562 kB / 1.275 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005706/1.075, allocations: 159.7 kB / 1.275 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006506/1.075, allocations: 410.6 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008695/1.076, allocations: 166.5 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/1.076, allocations: 84.55 kB / 1.276 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/1.076, allocations: 5.734 kB / 1.276 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/1.076, allocations: 35.84 kB / 1.276 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.724e-06/1.076, allocations: 0 / 1.276 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.001077/1.078, allocations: 291.7 kB / 1.276 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/1.078, allocations: 53.8 kB / 1.276 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/1.078, allocations: 148.8 kB / 1.276 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/1.078, allocations: 26.83 kB / 1.276 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.487e-05/1.078, allocations: 111.8 kB / 1.276 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/1.078, allocations: 29.5 kB / 1.276 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.809e-05/1.078, allocations: 32.34 kB / 1.276 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.499e-05/1.078, allocations: 323.6 kB / 1.277 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/1.078, allocations: 67.53 kB / 1.277 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/1.079, allocations: 81.61 kB / 1.277 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005223/1.079, allocations: 155.6 kB / 1.277 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/1.079, allocations: 0.625 kB / 1.277 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005929/1.08, allocations: 204.9 kB / 1.277 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.08, allocations: 7.312 kB / 1.277 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/1.08, allocations: 0 / 1.277 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/1.08, allocations: 1.844 kB / 1.277 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/1.08, allocations: 41.47 kB / 1.277 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/1.08, allocations: 4.812 kB / 1.277 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/1.08, allocations: 21.88 kB / 1.277 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/1.08, allocations: 3.25 kB / 1.277 GB, free: 4.172 MB / 0.9981 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 8.985e-05/1.08, allocations: 123.2 kB / 1.277 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/1.08, allocations: 17.73 kB / 1.277 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/1.08, allocations: 17.34 kB / 1.277 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.08, allocations: 5.938 kB / 1.277 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.08, allocations: 4 kB / 1.277 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/1.08, allocations: 0.5 kB / 1.277 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/1.081, allocations: 246.1 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.081, allocations: 3.938 kB / 1.277 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/1.081, allocations: 40.08 kB / 1.278 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/1.081, allocations: 0.75 kB / 1.278 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/1.081, allocations: 2.516 kB / 1.278 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.081, allocations: 2.125 kB / 1.278 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/1.081, allocations: 0 / 1.278 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006287/1.081, allocations: 301.4 kB / 1.278 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/1.081, allocations: 93.59 kB / 1.278 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/1.081, allocations: 1.625 kB / 1.278 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/1.082, allocations: 25.72 kB / 1.278 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/1.082, allocations: 31.69 kB / 1.278 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/1.082, allocations: 3.906 kB / 1.278 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.443e-05/1.082, allocations: 112.3 kB / 1.278 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.082, allocations: 0.6562 kB / 1.278 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002597/1.082, allocations: 27.05 kB / 1.278 GB, free: 3.383 MB / 0.9981 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.0009226/1.083, allocations: 0.8389 MB / 1.279 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006595/1.084, allocations: 176.4 kB / 1.279 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.084, allocations: 0 / 1.279 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003319/1.084, allocations: 95.55 kB / 1.279 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/1.084, allocations: 19.61 kB / 1.279 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002968/1.087, allocations: 1.867 MB / 1.281 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/1.088, allocations: 0.7037 MB / 1.282 GB, free: 16.52 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001269/1.088, allocations: 24.47 kB / 1.282 GB, free: 16.51 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/1.088, allocations: 45.27 kB / 1.282 GB, free: 16.48 MB / 1.014 GB Notification: Performance of SimCode: time 7.11e-07/1.088, allocations: 0 / 1.282 GB, free: 16.48 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03195/1.12, allocations: 3.821 MB / 1.286 GB, free: 15.99 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.275/9.395, allocations: 8.891 kB / 1.286 GB, free: 15.99 MB / 1.014 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 15.63120527000865] Failed to read output from testmodel.py, exit status != 0: 9.462948216008954 9.47856391 8.403110344 Calling exit ...