Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.755/1.755, allocations: 249.3 MB / 261.8 MB, free: 5.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001526/0.001526, allocations: 186 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 205.1 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008945/0.0008946, allocations: 84.27 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.778e-05/3.789e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2496, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8224/1.072, allocations: 131.9 MB / 1.021 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003444/1.072, allocations: 73.27 kB / 1.021 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007768/1.08, allocations: 2.048 MB / 1.023 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.385e-06/1.08, allocations: 0 / 1.023 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.268e-05/1.08, allocations: 0 / 1.023 GB, free: 1.086 MB / 0.6355 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.0008099/1.081, allocations: 430.8 kB / 1.023 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/1.081, allocations: 12.03 kB / 1.023 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.477e-05/1.081, allocations: 41.55 kB / 1.023 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/1.081, allocations: 15.81 kB / 1.023 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/1.082, allocations: 208.1 kB / 1.023 GB, free: 324 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/1.082, allocations: 11.38 kB / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.672e-05/1.082, allocations: 7.25 kB / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/1.082, allocations: 110.8 kB / 1.024 GB, free: 220 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/1.082, allocations: 0 / 1.024 GB, free: 220 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/1.082, allocations: 3.953 kB / 1.024 GB, free: 216 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/1.082, allocations: 4 kB / 1.024 GB, free: 212 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/1.082, allocations: 85.97 kB / 1.024 GB, free: 156 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008148/1.083, allocations: 418.4 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000624/1.084, allocations: 138.4 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/1.084, allocations: 48.16 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/1.084, allocations: 4 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/1.084, allocations: 30.56 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/1.084, allocations: 0 / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0003803/1.084, allocations: 134 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/1.084, allocations: 55.53 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/1.085, allocations: 143.6 kB / 1.025 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/1.085, allocations: 25.7 kB / 1.025 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.92e-05/1.085, allocations: 102.8 kB / 1.025 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/1.085, allocations: 26.88 kB / 1.025 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/1.085, allocations: 3.875 kB / 1.025 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001694/1.085, allocations: 322.6 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.668e-05/1.085, allocations: 40.86 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.263e-05/1.085, allocations: 44.86 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.182e-05/1.085, allocations: 41.58 kB / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/1.085, allocations: 4 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002704/1.086, allocations: 128.9 kB / 1.025 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/1.086, allocations: 4 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/1.086, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/1.086, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/1.086, allocations: 43.95 kB / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/1.086, allocations: 0 / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/1.086, allocations: 39.42 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/1.086, allocations: 3.984 kB / 1.025 GB, free: 14.49 MB / 0.6511 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.0001172/1.086, allocations: 108.5 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/1.086, allocations: 11.81 kB / 1.025 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.132e-05/1.086, allocations: 15.5 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/1.086, allocations: 11.97 kB / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/1.086, allocations: 4 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/1.086, allocations: 0 / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/1.087, allocations: 236.8 kB / 1.026 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/1.087, allocations: 0 / 1.026 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/1.087, allocations: 43.95 kB / 1.026 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/1.087, allocations: 0 / 1.026 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/1.087, allocations: 11.98 kB / 1.026 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/1.087, allocations: 4 kB / 1.026 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.087, allocations: 0 / 1.026 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/1.087, allocations: 225.2 kB / 1.026 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.856e-05/1.087, allocations: 100.8 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/1.088, allocations: 3.062 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/1.088, allocations: 31.97 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/1.088, allocations: 31.58 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/1.088, allocations: 4 kB / 1.026 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.395e-05/1.088, allocations: 114.1 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.088, allocations: 0 / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002618/1.088, allocations: 27.62 kB / 1.026 GB, free: 13.53 MB / 0.6511 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.0008686/1.089, allocations: 0.772 MB / 1.027 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002785/1.089, allocations: 97.41 kB / 1.027 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.089, allocations: 0 / 1.027 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/1.09, allocations: 69.09 kB / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/1.09, allocations: 9.594 kB / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007741/1.091, allocations: 218.6 kB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/1.091, allocations: 0.7082 MB / 1.028 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001292/1.091, allocations: 24.42 kB / 1.028 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/1.091, allocations: 40.97 kB / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of SimCode: time 3.446e-06/1.091, allocations: 0 / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/1.107, allocations: 3.224 MB / 1.031 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/1.107, allocations: 176.9 kB / 1.031 GB, free: 8.305 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/2.847, allocations: 0 / 1.031 GB, free: 8.305 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)