Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.766/2.766, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001408/0.001408, allocations: 184.8 kB / 360.6 MB, free: 7.277 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.017/2.017, allocations: 205.2 MB / 0.6191 GB, free: 12.2 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.001139/0.001138, allocations: 108.2 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.911e-05/3.923e-05, allocations: 11.98 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8342/0.8343, allocations: 115.2 MB / 0.9634 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2357/1.07, allocations: 137.1 MB / 1.097 GB, free: 3.348 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/1.07, allocations: 59.97 kB / 1.097 GB, free: 3.289 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01001/1.08, allocations: 1.991 MB / 1.099 GB, free: 1.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.363e-06/1.08, allocations: 0 / 1.099 GB, free: 1.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.428e-05/1.081, allocations: 5.281 kB / 1.099 GB, free: 1.336 MB / 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.001031/1.082, allocations: 436.8 kB / 1.1 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/1.082, allocations: 9.844 kB / 1.1 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.007e-05/1.082, allocations: 9.109 kB / 1.1 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/1.082, allocations: 211.5 kB / 1.1 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/1.082, allocations: 4.562 kB / 1.1 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/1.082, allocations: 5.031 kB / 1.1 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000305/1.082, allocations: 79.97 kB / 1.1 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/1.083, allocations: 99.69 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/1.083, allocations: 7.172 kB / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/1.083, allocations: 1.406 kB / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/1.083, allocations: 7.984 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009794/1.084, allocations: 383.8 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/1.085, allocations: 122.5 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/1.085, allocations: 53.05 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/1.085, allocations: 7.75 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/1.085, allocations: 41.25 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.885e-06/1.085, allocations: 0 / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0004705/1.086, allocations: 121.7 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/1.086, allocations: 51.41 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/1.086, allocations: 132.8 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.172e-05/1.086, allocations: 29.7 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.027e-05/1.086, allocations: 104 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.532e-05/1.086, allocations: 31.5 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.542e-05/1.086, allocations: 0 / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.086, allocations: 322.8 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/1.086, allocations: 35.98 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/1.087, allocations: 39.98 kB / 1.102 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/1.087, allocations: 35.92 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/1.087, allocations: 3.953 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003597/1.087, allocations: 121.6 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/1.087, allocations: 11.98 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/1.087, allocations: 2.344 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/1.087, allocations: 0 / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005078/1.088, allocations: 51.55 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/1.088, allocations: 0 / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/1.088, allocations: 35.88 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/1.088, allocations: 4 kB / 1.102 GB, free: 14.6 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.0001202/1.088, allocations: 108.8 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003796/1.089, allocations: 130.8 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.794e-05/1.089, allocations: 7.906 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.974e-05/1.089, allocations: 18.83 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/1.089, allocations: 4 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.089, allocations: 0 / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/1.089, allocations: 0 / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003387/1.089, allocations: 209.9 kB / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.089, allocations: 0 / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000451/1.09, allocations: 47.95 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/1.09, allocations: 0 / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/1.09, allocations: 7.984 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/1.09, allocations: 3.312 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/1.09, allocations: 4 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004235/1.09, allocations: 215.4 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.364e-05/1.09, allocations: 96.89 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/1.09, allocations: 0 / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/1.091, allocations: 27.97 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/1.091, allocations: 35.95 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/1.091, allocations: 4 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000103/1.091, allocations: 110.6 kB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.2e-07/1.091, allocations: 1.688 kB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003928/1.091, allocations: 20 kB / 1.103 GB, free: 13.49 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.0008059/1.092, allocations: 0.7724 MB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003406/1.093, allocations: 95.91 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.093, allocations: 0 / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001963/1.093, allocations: 61.66 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/1.093, allocations: 8.781 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008491/1.094, allocations: 212.2 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/1.094, allocations: 0.7046 MB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002057/1.095, allocations: 24.42 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/1.095, allocations: 43.41 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of SimCode: time 1.012e-06/1.095, allocations: 0 / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04206/1.137, allocations: 2.806 MB / 1.107 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003178/1.137, allocations: 151.7 kB / 1.108 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.3/3.437, allocations: 1.969 kB / 1.108 GB, free: 8.57 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)