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.698/2.698, allocations: 287.3 MB / 302.3 MB, free: 8.332 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.00166/0.00166, allocations: 186 kB / 370.8 MB, free: 10.86 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.504/2.504, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 98.28 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000498/0.0004981, allocations: 12.66 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2203, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9479/1.168, allocations: 137.8 MB / 1.113 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/1.169, allocations: 67.41 kB / 1.113 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01012/1.179, allocations: 2.006 MB / 1.115 GB, free: 31.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.384e-06/1.179, allocations: 0 / 1.115 GB, free: 31.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.347e-05/1.179, allocations: 0 / 1.115 GB, free: 31.34 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.001038/1.18, allocations: 451.3 kB / 1.115 GB, free: 30.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.18, allocations: 19.45 kB / 1.115 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.371e-05/1.18, allocations: 40.2 kB / 1.115 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/1.18, allocations: 11.66 kB / 1.115 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/1.18, allocations: 206.5 kB / 1.116 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/1.18, allocations: 11.31 kB / 1.116 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/1.18, allocations: 7.875 kB / 1.116 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007062/1.181, allocations: 167.8 kB / 1.116 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/1.181, allocations: 0 / 1.116 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/1.181, allocations: 11.86 kB / 1.116 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/1.181, allocations: 0 / 1.116 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009847/1.182, allocations: 186.8 kB / 1.116 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000935/1.183, allocations: 418.2 kB / 1.116 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/1.185, allocations: 188.2 kB / 1.117 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/1.185, allocations: 0 / 1.117 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/1.185, allocations: 35.34 kB / 1.117 GB, free: 30.28 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.482e-06/1.185, allocations: 0 / 1.117 GB, free: 30.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.00264/1.187, allocations: 339.2 kB / 1.117 GB, free: 30.22 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/1.187, allocations: 51.58 kB / 1.117 GB, free: 30.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/1.188, allocations: 139.8 kB / 1.117 GB, free: 30.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.576e-05/1.188, allocations: 29.08 kB / 1.117 GB, free: 30.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/1.188, allocations: 106.3 kB / 1.117 GB, free: 29.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.266e-05/1.188, allocations: 32.91 kB / 1.117 GB, free: 29.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/1.188, allocations: 3.906 kB / 1.117 GB, free: 29.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002201/1.188, allocations: 316.7 kB / 1.118 GB, free: 29.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009409/1.189, allocations: 94.14 kB / 1.118 GB, free: 29.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009075/1.19, allocations: 92.27 kB / 1.118 GB, free: 29.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007566/1.191, allocations: 99.55 kB / 1.118 GB, free: 29.58 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.191, allocations: 0 / 1.118 GB, free: 29.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.001994/1.193, allocations: 235.9 kB / 1.118 GB, free: 29.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/1.193, allocations: 7.625 kB / 1.118 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.193, allocations: 0 / 1.118 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/1.193, allocations: 0 / 1.118 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008191/1.194, allocations: 43.16 kB / 1.118 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/1.194, allocations: 0 / 1.118 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004324/1.195, allocations: 37.97 kB / 1.118 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/1.195, allocations: 14.84 kB / 1.118 GB, free: 29.52 MB / 0.698 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.0002215/1.195, allocations: 120.6 kB / 1.118 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.28e-05/1.195, allocations: 14.72 kB / 1.118 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.322e-05/1.195, allocations: 15.5 kB / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/1.195, allocations: 0 / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.195, allocations: 4 kB / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/1.195, allocations: 0 / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006274/1.196, allocations: 238.2 kB / 1.119 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.196, allocations: 0 / 1.119 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007309/1.196, allocations: 50.59 kB / 1.119 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/1.197, allocations: 0 / 1.119 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/1.197, allocations: 3.094 kB / 1.119 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/1.197, allocations: 4 kB / 1.119 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.197, allocations: 0 / 1.119 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/1.198, allocations: 338.1 kB / 1.119 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.527e-05/1.199, allocations: 84.39 kB / 1.119 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/1.199, allocations: 10.66 kB / 1.119 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003801/1.199, allocations: 23.92 kB / 1.119 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/1.199, allocations: 31.59 kB / 1.119 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/1.199, allocations: 6.344 kB / 1.119 GB, free: 28.94 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001239/1.199, allocations: 115.2 kB / 1.119 GB, free: 28.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.51e-07/1.199, allocations: 3.844 kB / 1.119 GB, free: 28.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003409/1.2, allocations: 27.06 kB / 1.119 GB, free: 28.86 MB / 0.698 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.001651/1.201, allocations: 0.8821 MB / 1.12 GB, free: 28.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001093/1.202, allocations: 195.5 kB / 1.12 GB, free: 28.17 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.202, allocations: 3.812 kB / 1.12 GB, free: 28.17 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005612/1.203, allocations: 118.4 kB / 1.12 GB, free: 28.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/1.203, allocations: 14.3 kB / 1.12 GB, free: 28.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/1.206, allocations: 0.9023 MB / 1.121 GB, free: 27.75 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/1.207, allocations: 0.7133 MB / 1.122 GB, free: 27.05 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002181/1.207, allocations: 22.77 kB / 1.122 GB, free: 27.05 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/1.207, allocations: 42.02 kB / 1.122 GB, free: 27.04 MB / 0.698 GB Notification: Performance of SimCode: time 1.362e-06/1.207, allocations: 4.469 kB / 1.122 GB, free: 27.04 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/1.234, allocations: 3.203 MB / 1.125 GB, free: 26.78 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/1.234, allocations: 186.9 kB / 1.125 GB, free: 26.54 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.526/3.76, allocations: 0 / 1.125 GB, free: 26.54 MB / 0.698 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)