Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.922/2.922, allocations: 285.6 MB / 293.1 MB, free: 10.24 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001598/0.001598, allocations: 184.8 kB / 361.4 MB, free: 6.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.432/3.432, allocations: 205.3 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001256/0.001256, allocations: 87.58 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.977e-05/6.985e-05, allocations: 4 kB / 0.8518 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.271/1.272, allocations: 115.3 MB / 0.9645 GB, free: 78.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3335/1.605, allocations: 137.2 MB / 1.098 GB, free: 2.492 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005117/1.606, allocations: 71.7 kB / 1.099 GB, free: 2.426 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01193/1.618, allocations: 1.987 MB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of FrontEnd: time 4.418e-06/1.618, allocations: 0.5625 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of Transformations before backend: time 2.559e-05/1.618, allocations: 0 / 1.1 GB, free: 496 kB / 0.698 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.001412/1.619, allocations: 437.8 kB / 1.101 GB, free: 16 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001057/1.62, allocations: 13.62 kB / 1.101 GB, free: 4 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/1.62, allocations: 12.89 kB / 1.101 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005835/1.62, allocations: 208.2 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.91e-05/1.62, allocations: 4 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.582e-05/1.621, allocations: 8.625 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004136/1.621, allocations: 79.97 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/1.621, allocations: 106.3 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/1.621, allocations: 4.516 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/1.621, allocations: 0 / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/1.621, allocations: 4 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/1.623, allocations: 391.5 kB / 1.102 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/1.624, allocations: 124.7 kB / 1.102 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/1.624, allocations: 49.02 kB / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.221e-05/1.624, allocations: 0 / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.307e-05/1.624, allocations: 33.25 kB / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.444e-06/1.624, allocations: 4 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0006053/1.625, allocations: 129.6 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/1.625, allocations: 55.41 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/1.625, allocations: 132.6 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.838e-05/1.625, allocations: 25.7 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/1.625, allocations: 104 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.121e-05/1.625, allocations: 31.5 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.691e-05/1.625, allocations: 0 / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002554/1.626, allocations: 326.8 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/1.626, allocations: 35.98 kB / 1.103 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/1.626, allocations: 35.98 kB / 1.103 GB, free: 14 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/1.626, allocations: 41.7 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.626, allocations: 0 / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004446/1.627, allocations: 121.6 kB / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/1.627, allocations: 4 kB / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.627, allocations: 0 / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/1.627, allocations: 4 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004732/1.627, allocations: 51.88 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.897e-05/1.627, allocations: 6.891 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/1.628, allocations: 23.97 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/1.628, allocations: 5.031 kB / 1.103 GB, free: 13.74 MB / 0.7136 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.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001999/1.628, allocations: 108.9 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004676/1.628, allocations: 133.4 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.052e-05/1.629, allocations: 7.906 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/1.629, allocations: 16.61 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/1.629, allocations: 6.906 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/1.629, allocations: 0 / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/1.629, allocations: 0 / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005028/1.629, allocations: 210 kB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/1.629, allocations: 3.938 kB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004171/1.63, allocations: 43.95 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/1.63, allocations: 4 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/1.63, allocations: 3.984 kB / 1.104 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/1.63, allocations: 0 / 1.104 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/1.63, allocations: 0 / 1.104 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005288/1.63, allocations: 227.2 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/1.63, allocations: 100.9 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/1.631, allocations: 0 / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/1.631, allocations: 26.73 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/1.631, allocations: 27.97 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/1.631, allocations: 7.922 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001814/1.631, allocations: 114.3 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.91e-07/1.631, allocations: 4 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005251/1.632, allocations: 20 kB / 1.104 GB, free: 12.62 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001137/1.633, allocations: 0.7689 MB / 1.105 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002855/1.633, allocations: 91.91 kB / 1.105 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.633, allocations: 4 kB / 1.105 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/1.634, allocations: 63.97 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/1.634, allocations: 9.375 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000776/1.635, allocations: 208.1 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000633/1.635, allocations: 0.7145 MB / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002233/1.636, allocations: 21.22 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/1.636, allocations: 43.41 kB / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of SimCode: time 9.82e-07/1.636, allocations: 0 / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07286/1.709, allocations: 2.804 MB / 1.109 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003857/1.709, allocations: 155.9 kB / 1.109 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.964/4.673, allocations: 2.703 kB / 1.109 GB, free: 7.703 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)