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.431/1.431, allocations: 249.5 MB / 257 MB, free: 6.973 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.001072/0.001072, allocations: 183.8 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0008922/0.0008921, allocations: 93.91 kB / 0.6714 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.239e-05/2.232e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1768, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7113/0.8881, allocations: 132.2 MB / 1.014 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.8884, allocations: 72.88 kB / 1.014 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006514/0.8949, allocations: 2.041 MB / 1.016 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.494e-06/0.8949, allocations: 4 kB / 1.016 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.895, allocations: 0 / 1.016 GB, free: 3.434 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.0006337/0.8956, allocations: 432.4 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.8956, allocations: 8.031 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.8957, allocations: 19.81 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.8959, allocations: 199.3 kB / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.896, allocations: 4 kB / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.896, allocations: 4.188 kB / 1.017 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001698/0.8962, allocations: 82.34 kB / 1.017 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.8963, allocations: 98.59 kB / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.8964, allocations: 7.953 kB / 1.017 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.8964, allocations: 3.984 kB / 1.017 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.8964, allocations: 0 / 1.017 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005726/0.897, allocations: 391.6 kB / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005343/0.8975, allocations: 128.5 kB / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.071e-05/0.8976, allocations: 42.61 kB / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.8976, allocations: 4.188 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.8977, allocations: 40.34 kB / 1.018 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.8977, allocations: 0 / 1.018 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002636/0.8979, allocations: 122.7 kB / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.898, allocations: 55.39 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.8981, allocations: 134 kB / 1.018 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.8981, allocations: 29.7 kB / 1.018 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.8982, allocations: 102.2 kB / 1.018 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.8982, allocations: 27.44 kB / 1.018 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.919e-06/0.8982, allocations: 4 kB / 1.018 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.8984, allocations: 320.4 kB / 1.019 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.65e-05/0.8984, allocations: 37.05 kB / 1.019 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.977e-05/0.8985, allocations: 39.7 kB / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.846e-05/0.8986, allocations: 40.8 kB / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.8986, allocations: 3.953 kB / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001958/0.8988, allocations: 130.5 kB / 1.019 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.8988, allocations: 4 kB / 1.019 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.8988, allocations: 0 / 1.019 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.8988, allocations: 0 / 1.019 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.8991, allocations: 47.2 kB / 1.019 GB, free: 1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.8991, allocations: 0 / 1.019 GB, free: 1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.8993, allocations: 31.97 kB / 1.019 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.8993, allocations: 0 / 1.019 GB, free: 0.9688 MB / 0.6355 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 8.399e-05/0.8994, allocations: 108.9 kB / 1.019 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002042/0.8996, allocations: 131.9 kB / 1.019 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.8997, allocations: 7.906 kB / 1.019 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.801e-05/0.8997, allocations: 15.25 kB / 1.019 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.8997, allocations: 4 kB / 1.019 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.8997, allocations: 0 / 1.019 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.8997, allocations: 7.562 kB / 1.019 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.8999, allocations: 206.4 kB / 1.019 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8999, allocations: 0 / 1.019 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.9002, allocations: 47.2 kB / 1.019 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.9002, allocations: 0 / 1.019 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.9002, allocations: 11.98 kB / 1.019 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.9002, allocations: 0 / 1.019 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.9002, allocations: 0 / 1.019 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.9005, allocations: 223.5 kB / 1.02 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.9005, allocations: 100.8 kB / 1.02 GB, free: 128 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.9006, allocations: 0 / 1.02 GB, free: 128 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.9008, allocations: 31.97 kB / 1.02 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.382e-05/0.9009, allocations: 29.7 kB / 1.02 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.9009, allocations: 11.36 kB / 1.02 GB, free: 68 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.292e-05/0.901, allocations: 104.4 kB / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.71e-07/0.901, allocations: 0 / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002472/0.9012, allocations: 24 kB / 1.02 GB, free: 15.95 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.0005102/0.9018, allocations: 0.7648 MB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001811/0.902, allocations: 92.09 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.902, allocations: 0 / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.9021, allocations: 67.03 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.9023, allocations: 4 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005284/0.9028, allocations: 208.3 kB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.9031, allocations: 0.708 MB / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000114/0.9032, allocations: 20.44 kB / 1.022 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.821e-05/0.9033, allocations: 43.03 kB / 1.022 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of SimCode: time 6.91e-07/0.9033, allocations: 0 / 1.022 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/0.9231, allocations: 2.811 MB / 1.025 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002942/0.9234, allocations: 155 kB / 1.025 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/2.436, allocations: 3.938 kB / 1.025 GB, free: 11.1 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)