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.389/1.389, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001272/0.001271, allocations: 185.2 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.16/2.16, allocations: 205.4 MB / 0.5775 GB, free: 20.58 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.0009411/0.0009411, allocations: 90.42 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003306, allocations: 11 kB / 0.7963 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2335, allocations: 106.3 MB / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1683/0.4019, allocations: 131.9 MB / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.4022, allocations: 71.95 kB / 1.029 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006527/0.4087, allocations: 2.047 MB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4087, allocations: 4 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.4087, allocations: 0 / 1.031 GB, free: 10.12 MB / 0.6823 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.0006973/0.4095, allocations: 450.8 kB / 1.032 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.4095, allocations: 16.02 kB / 1.032 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.613e-05/0.4096, allocations: 42.56 kB / 1.032 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.4096, allocations: 11.81 kB / 1.032 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.4098, allocations: 199.7 kB / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.4098, allocations: 11.94 kB / 1.032 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.4099, allocations: 12 kB / 1.032 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004365/0.4103, allocations: 159.8 kB / 1.032 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.4103, allocations: 0 / 1.032 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.4104, allocations: 7.953 kB / 1.032 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.4104, allocations: 4 kB / 1.032 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005529/0.4109, allocations: 187.8 kB / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006507/0.4116, allocations: 420.4 kB / 1.033 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008393/0.4124, allocations: 186.5 kB / 1.033 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.4125, allocations: 7.984 kB / 1.033 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.4125, allocations: 34.59 kB / 1.033 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.4125, allocations: 0 / 1.033 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0009724/0.4135, allocations: 329.5 kB / 1.033 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.4136, allocations: 52.41 kB / 1.033 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.4137, allocations: 147.1 kB / 1.033 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.4137, allocations: 25.7 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.502e-05/0.4138, allocations: 112 kB / 1.033 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.4138, allocations: 19.72 kB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-06/0.4139, allocations: 0 / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.414, allocations: 318.8 kB / 1.034 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003037/0.4143, allocations: 95.92 kB / 1.034 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.4146, allocations: 87.92 kB / 1.034 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.4149, allocations: 99.86 kB / 1.034 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4149, allocations: 3.938 kB / 1.034 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006056/0.4155, allocations: 225.5 kB / 1.034 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4155, allocations: 7.938 kB / 1.034 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.4155, allocations: 0 / 1.034 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.4156, allocations: 7.984 kB / 1.034 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.4158, allocations: 47.95 kB / 1.034 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.4159, allocations: 4 kB / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.416, allocations: 35.81 kB / 1.034 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.4161, allocations: 12.61 kB / 1.034 GB, free: 6.582 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.4162, allocations: 121.8 kB / 1.034 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.4162, allocations: 15.89 kB / 1.034 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.362e-05/0.4163, allocations: 16.72 kB / 1.034 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.4163, allocations: 0 / 1.034 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.4163, allocations: 0 / 1.034 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4163, allocations: 0 / 1.034 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.4166, allocations: 245.3 kB / 1.035 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4166, allocations: 0 / 1.035 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.4169, allocations: 51.89 kB / 1.035 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4169, allocations: 0 / 1.035 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.4169, allocations: 4 kB / 1.035 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4169, allocations: 0 / 1.035 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4169, allocations: 0 / 1.035 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006488/0.4176, allocations: 335.2 kB / 1.035 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/0.4176, allocations: 85.02 kB / 1.035 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.4177, allocations: 11.92 kB / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.4179, allocations: 31.97 kB / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.432e-05/0.418, allocations: 27.97 kB / 1.035 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.418, allocations: 7.984 kB / 1.035 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.076e-05/0.4181, allocations: 115.2 kB / 1.035 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4181, allocations: 0 / 1.035 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000266/0.4184, allocations: 27.94 kB / 1.035 GB, free: 5.418 MB / 0.6823 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 (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.0009351/0.4193, allocations: 0.8722 MB / 1.036 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005881/0.4199, allocations: 207.8 kB / 1.036 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4199, allocations: 384 / 1.036 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000318/0.4202, allocations: 119.8 kB / 1.037 GB, free: 4.199 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.4204, allocations: 15.98 kB / 1.037 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.4222, allocations: 0.9086 MB / 1.037 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.4225, allocations: 0.7121 MB / 1.038 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001159/0.4226, allocations: 24.41 kB / 1.038 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.4227, allocations: 43.41 kB / 1.038 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of SimCode: time 2.71e-07/0.4227, allocations: 0 / 1.038 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01311/0.4358, allocations: 3.19 MB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002722/0.4361, allocations: 194.6 kB / 1.041 GB, free: 15.15 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.497/1.933, allocations: 0 / 1.041 GB, free: 15.15 MB / 0.698 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)