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.001787/0.001787, 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.002737/0.002737, allocations: 219.6 kB / 23.04 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.753/2.753, allocations: 476.8 MB / 0.7715 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] 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.002127/0.002127, allocations: 64.25 kB / 1.118 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3883, allocations: 170 MB / 1.284 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.00213/0.3904, allocations: 0.8669 MB / 1.285 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.3917, allocations: 0.9211 MB / 1.286 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.395e-05/0.3917, allocations: 0 / 1.286 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.3918, allocations: 11.88 kB / 1.286 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.3919, allocations: 19.78 kB / 1.286 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.3921, allocations: 63.92 kB / 1.286 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.3923, allocations: 131.7 kB / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.3924, allocations: 29.3 kB / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.521e-05/0.3925, allocations: 59.77 kB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.3927, allocations: 83.66 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.3927, allocations: 12 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.241e-05/0.3928, allocations: 12 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.194e-05/0.3928, allocations: 31.91 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.169e-05/0.3929, allocations: 63.64 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.3931, allocations: 135 kB / 1.287 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.3931, allocations: 3.984 kB / 1.287 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3931, allocations: 4 kB / 1.287 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.3931, allocations: 0 / 1.287 GB, free: 9.141 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.000841/0.3939, allocations: 373.6 kB / 1.287 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.394, allocations: 12.03 kB / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.803e-05/0.394, allocations: 192 / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.083e-05/0.3941, allocations: 50.67 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.3941, allocations: 16.84 kB / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.3943, allocations: 149.1 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.3943, allocations: 8 kB / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.3943, allocations: 8 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004421/0.3948, allocations: 151.4 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3948, allocations: 3.938 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.3948, allocations: 4 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.3948, allocations: 0 / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005595/0.3954, allocations: 155.8 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006699/0.396, allocations: 387.5 kB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008697/0.3969, allocations: 168.3 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.3972, allocations: 80.91 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.3972, allocations: 4 kB / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.3973, allocations: 46.44 kB / 1.288 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.3973, allocations: 0 / 1.288 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0009624/0.3982, allocations: 277.5 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.3983, allocations: 51.41 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.3984, allocations: 150.4 kB / 1.289 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.3984, allocations: 25.7 kB / 1.289 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.3985, allocations: 115.9 kB / 1.289 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.3985, allocations: 27.75 kB / 1.289 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.494e-05/0.3986, allocations: 29.7 kB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3988, allocations: 330.8 kB / 1.289 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002775/0.399, allocations: 71.92 kB / 1.289 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.3993, allocations: 80.23 kB / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005653/0.3999, allocations: 160.7 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3999, allocations: 0 / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006418/0.4005, allocations: 205.4 kB / 1.29 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.4006, allocations: 8 kB / 1.29 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.4006, allocations: 4 kB / 1.29 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.4006, allocations: 0 / 1.29 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.4009, allocations: 39.94 kB / 1.29 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.4009, allocations: 0 / 1.29 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.401, allocations: 19.97 kB / 1.29 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.4011, allocations: 4 kB / 1.29 GB, free: 5.793 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.0001235/0.4012, allocations: 125.8 kB / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.595e-05/0.4012, allocations: 15.84 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.239e-05/0.4013, allocations: 16.72 kB / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4013, allocations: 0 / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4013, allocations: 0 / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4013, allocations: 3.984 kB / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.4016, allocations: 212.6 kB / 1.29 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4016, allocations: 0 / 1.29 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.4018, allocations: 43.89 kB / 1.29 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.4018, allocations: 0 / 1.29 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.4018, allocations: 7.984 kB / 1.29 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4018, allocations: 0 / 1.29 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4018, allocations: 0 / 1.29 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007231/0.4026, allocations: 315.4 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.419e-05/0.4026, allocations: 11.89 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.4026, allocations: 0 / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.4028, allocations: 23.97 kB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.4029, allocations: 31.95 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.4029, allocations: 3.938 kB / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.422e-05/0.403, allocations: 118.1 kB / 1.29 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.403, allocations: 4 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002488/0.4033, allocations: 20 kB / 1.291 GB, free: 4.789 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.001052/0.4043, allocations: 0.8411 MB / 1.291 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006572/0.405, allocations: 171.8 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.405, allocations: 0 / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003216/0.4053, allocations: 99.84 kB / 1.292 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.4056, allocations: 19.94 kB / 1.292 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/0.4087, allocations: 1.842 MB / 1.293 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.409, allocations: 0.7085 MB / 1.294 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001054/0.4091, allocations: 20.42 kB / 1.294 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.4093, allocations: 47.41 kB / 1.294 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of SimCode: time 6.91e-07/0.4093, allocations: 0 / 1.294 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/0.4351, allocations: 4.006 MB / 1.298 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.69, allocations: 12.09 kB / 1.298 GB, free: 13.05 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.626967613003217] Failed to read output from testmodel.py, exit status != 0: 12.456536277022678 11.892715123 11.494393145 Calling exit ...