Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.677/1.677, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.001371/0.001371, allocations: 172.8 kB / 366.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.3 MB / 0.626 GB, free: 7.156 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.000879/0.000879, allocations: 92.64 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.398e-05/3.438e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8187/0.8188, allocations: 116.3 MB / 0.9734 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2093/1.028, allocations: 138.2 MB / 1.108 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/1.029, allocations: 68.48 kB / 1.108 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.007265/1.036, allocations: 1.999 MB / 1.11 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.462e-06/1.036, allocations: 0 / 1.11 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.45e-05/1.036, allocations: 6.812 kB / 1.11 GB, free: 9.871 MB / 0.7136 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.000707/1.037, allocations: 434.2 kB / 1.111 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/1.037, allocations: 8.031 kB / 1.111 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.234e-05/1.037, allocations: 7.906 kB / 1.111 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/1.037, allocations: 215.5 kB / 1.111 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/1.037, allocations: 4 kB / 1.111 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/1.037, allocations: 4 kB / 1.111 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000203/1.037, allocations: 79.97 kB / 1.111 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/1.038, allocations: 95.69 kB / 1.111 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/1.038, allocations: 2.75 kB / 1.111 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/1.038, allocations: 3.953 kB / 1.111 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/1.038, allocations: 4 kB / 1.111 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007251/1.038, allocations: 389.1 kB / 1.112 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005915/1.039, allocations: 130.5 kB / 1.112 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.069e-05/1.039, allocations: 51.53 kB / 1.112 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/1.039, allocations: 0.6562 kB / 1.112 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/1.039, allocations: 41.25 kB / 1.112 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.714e-06/1.039, allocations: 0 / 1.112 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003055/1.039, allocations: 121.1 kB / 1.112 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/1.039, allocations: 55.41 kB / 1.112 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/1.04, allocations: 137.1 kB / 1.112 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/1.04, allocations: 25.7 kB / 1.112 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/1.04, allocations: 100 kB / 1.112 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/1.04, allocations: 31.5 kB / 1.112 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/1.04, allocations: 4 kB / 1.112 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.04, allocations: 322.8 kB / 1.113 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.034e-05/1.04, allocations: 39.98 kB / 1.113 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.064e-05/1.04, allocations: 32 kB / 1.113 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.848e-05/1.04, allocations: 35.97 kB / 1.113 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.04, allocations: 0 / 1.113 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002117/1.04, allocations: 129.4 kB / 1.113 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/1.04, allocations: 8 kB / 1.113 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.04, allocations: 0 / 1.113 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/1.04, allocations: 0 / 1.113 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/1.041, allocations: 55.89 kB / 1.113 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/1.041, allocations: 0 / 1.113 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/1.041, allocations: 29.28 kB / 1.113 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/1.041, allocations: 11.98 kB / 1.113 GB, free: 7.129 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.0001019/1.041, allocations: 105 kB / 1.113 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002411/1.041, allocations: 125.5 kB / 1.113 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/1.041, allocations: 11.91 kB / 1.113 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.527e-05/1.041, allocations: 16.61 kB / 1.113 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-06/1.041, allocations: 0 / 1.113 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.041, allocations: 0 / 1.113 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/1.041, allocations: 0 / 1.113 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/1.042, allocations: 215.8 kB / 1.113 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/1.042, allocations: 7.953 kB / 1.113 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/1.042, allocations: 43.95 kB / 1.113 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/1.042, allocations: 0 / 1.113 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/1.042, allocations: 3.625 kB / 1.113 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/1.042, allocations: 0 / 1.113 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/1.042, allocations: 7.984 kB / 1.113 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/1.042, allocations: 219.4 kB / 1.114 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/1.042, allocations: 92.91 kB / 1.114 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/1.042, allocations: 0 / 1.114 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/1.043, allocations: 23.97 kB / 1.114 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/1.043, allocations: 35.95 kB / 1.114 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/1.043, allocations: 15.55 kB / 1.114 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.735e-05/1.043, allocations: 103.8 kB / 1.114 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.043, allocations: 0 / 1.114 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002674/1.043, allocations: 28 kB / 1.114 GB, free: 6.016 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.0006138/1.044, allocations: 0.7707 MB / 1.115 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002026/1.044, allocations: 87.97 kB / 1.115 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.044, allocations: 0 / 1.115 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/1.044, allocations: 63.92 kB / 1.115 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/1.044, allocations: 7.984 kB / 1.115 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005777/1.045, allocations: 197.9 kB / 1.115 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/1.045, allocations: 0.7119 MB / 1.116 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001312/1.045, allocations: 29.16 kB / 1.116 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/1.045, allocations: 43.41 kB / 1.116 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/1.045, allocations: 0 / 1.116 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/1.068, allocations: 2.804 MB / 1.118 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/1.068, allocations: 144.8 kB / 1.119 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/2.712, allocations: 0 / 1.119 GB, free: 1.098 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)