Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.605/1.605, allocations: 289.7 MB / 302.2 MB, free: 2.211 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.001177/0.001177, allocations: 178.7 kB / 371.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.779/1.779, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009304/0.0009304, allocations: 90.62 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.423e-05/4.436e-05, allocations: 4 kB / 0.8663 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3048, allocations: 116.3 MB / 0.9799 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.027/1.332, allocations: 138.9 MB / 1.116 GB, free: 44.81 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/1.332, allocations: 72.39 kB / 1.116 GB, free: 44.78 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.005884/1.338, allocations: 2.006 MB / 1.118 GB, free: 43.55 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.042e-06/1.338, allocations: 0 / 1.118 GB, free: 43.55 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.129e-05/1.338, allocations: 4 kB / 1.118 GB, free: 43.55 MB / 0.7448 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.0006189/1.339, allocations: 428.9 kB / 1.118 GB, free: 43.13 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/1.339, allocations: 12.03 kB / 1.118 GB, free: 43.12 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.417e-05/1.339, allocations: 33.94 kB / 1.118 GB, free: 43.08 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/1.339, allocations: 20.89 kB / 1.118 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/1.339, allocations: 198.9 kB / 1.118 GB, free: 42.84 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/1.339, allocations: 15.75 kB / 1.118 GB, free: 42.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/1.339, allocations: 4 kB / 1.118 GB, free: 42.84 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/1.339, allocations: 111.6 kB / 1.118 GB, free: 42.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/1.339, allocations: 4 kB / 1.118 GB, free: 42.76 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/1.339, allocations: 2.875 kB / 1.118 GB, free: 42.76 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/1.339, allocations: 7.953 kB / 1.118 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/1.339, allocations: 87.59 kB / 1.118 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000596/1.34, allocations: 419.9 kB / 1.119 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005782/1.341, allocations: 126.7 kB / 1.119 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.833e-05/1.341, allocations: 49.67 kB / 1.119 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/1.341, allocations: 4 kB / 1.119 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/1.341, allocations: 35.25 kB / 1.119 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 2.194e-06/1.341, allocations: 4 kB / 1.119 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0003187/1.341, allocations: 129.2 kB / 1.119 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/1.341, allocations: 51.41 kB / 1.119 GB, free: 42.03 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/1.341, allocations: 137.6 kB / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/1.341, allocations: 25.7 kB / 1.119 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/1.341, allocations: 102.3 kB / 1.119 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/1.341, allocations: 39 kB / 1.12 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/1.341, allocations: 3.562 kB / 1.12 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.756e-05/1.341, allocations: 330 kB / 1.12 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.627e-05/1.342, allocations: 37.28 kB / 1.12 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.153e-05/1.342, allocations: 42.19 kB / 1.12 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.737e-05/1.342, allocations: 38.42 kB / 1.12 GB, free: 41.37 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.342, allocations: 0 / 1.12 GB, free: 41.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002135/1.342, allocations: 128.8 kB / 1.12 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/1.342, allocations: 4 kB / 1.12 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/1.342, allocations: 0 / 1.12 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/1.342, allocations: 0.75 kB / 1.12 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/1.342, allocations: 52.56 kB / 1.12 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/1.342, allocations: 0.75 kB / 1.12 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/1.342, allocations: 26.66 kB / 1.12 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/1.342, allocations: 7.562 kB / 1.12 GB, free: 41.21 MB / 0.7448 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 6.927e-05/1.343, allocations: 118 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/1.343, allocations: 15.81 kB / 1.12 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.589e-05/1.343, allocations: 15.89 kB / 1.12 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/1.343, allocations: 9.516 kB / 1.12 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.343, allocations: 0 / 1.12 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.343, allocations: 0 / 1.12 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/1.343, allocations: 230.1 kB / 1.121 GB, free: 40.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.343, allocations: 4 kB / 1.121 GB, free: 40.85 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/1.343, allocations: 45.83 kB / 1.121 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/1.343, allocations: 4 kB / 1.121 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/1.343, allocations: 4.875 kB / 1.121 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.343, allocations: 0.5 kB / 1.121 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.343, allocations: 0 / 1.121 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/1.343, allocations: 238.6 kB / 1.121 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.631e-05/1.343, allocations: 88.86 kB / 1.121 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/1.344, allocations: 4 kB / 1.121 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/1.344, allocations: 30.12 kB / 1.121 GB, free: 40.48 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/1.344, allocations: 30.11 kB / 1.121 GB, free: 40.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/1.344, allocations: 4.844 kB / 1.121 GB, free: 40.47 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.587e-05/1.344, allocations: 112.6 kB / 1.121 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.344, allocations: 0 / 1.121 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002336/1.344, allocations: 35.08 kB / 1.121 GB, free: 40.35 MB / 0.7448 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.0006003/1.345, allocations: 0.7724 MB / 1.122 GB, free: 39.6 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002457/1.345, allocations: 99.17 kB / 1.122 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.345, allocations: 5.219 kB / 1.122 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/1.345, allocations: 57.52 kB / 1.122 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/1.345, allocations: 12.48 kB / 1.122 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000552/1.346, allocations: 211.8 kB / 1.122 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/1.346, allocations: 0.7137 MB / 1.123 GB, free: 38.58 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001133/1.346, allocations: 23.95 kB / 1.123 GB, free: 38.56 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/1.346, allocations: 39.83 kB / 1.123 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of SimCode: time 2.71e-07/1.346, allocations: 4 kB / 1.123 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01402/1.36, allocations: 3.207 MB / 1.126 GB, free: 36.81 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/1.361, allocations: 151.2 kB / 1.126 GB, free: 36.59 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/3.023, allocations: 0 / 1.126 GB, free: 36.59 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)