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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00264/0.00264, allocations: 194.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.876/1.876, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00151/0.001511, allocations: 67.03 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2442, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.00214/0.2464, allocations: 0.8475 MB / 0.7843 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.2475, allocations: 0.8905 MB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.956e-05/0.2476, allocations: 4 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.465e-05/0.2477, allocations: 7.875 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.828e-05/0.2478, allocations: 23.78 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.2479, allocations: 55.92 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.2482, allocations: 127.7 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.2483, allocations: 41.11 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.669e-05/0.2484, allocations: 59.77 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.2485, allocations: 79.72 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.751e-05/0.2486, allocations: 12 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.412e-05/0.2486, allocations: 16 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.46e-05/0.2487, allocations: 27.91 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.455e-05/0.2488, allocations: 63.64 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.2489, allocations: 147.7 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2489, allocations: 0 / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.249, allocations: 0 / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.768e-06/0.249, allocations: 0 / 0.7858 GB, free: 10.95 MB / 0.6075 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.0007927/0.2498, allocations: 442.9 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2498, allocations: 12.03 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/0.2499, allocations: 38.75 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.2499, allocations: 16.83 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.2501, allocations: 207.1 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.2501, allocations: 8.375 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.2502, allocations: 12.38 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004207/0.2506, allocations: 160 kB / 0.7867 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2506, allocations: 4 kB / 0.7867 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.2506, allocations: 0 / 0.7867 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2506, allocations: 0 / 0.7867 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005616/0.2512, allocations: 155.8 kB / 0.7868 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006238/0.2518, allocations: 416.4 kB / 0.7872 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008412/0.2527, allocations: 178.5 kB / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/0.253, allocations: 92.8 kB / 0.7875 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.253, allocations: 4 kB / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.253, allocations: 30.56 kB / 0.7875 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.2531, allocations: 4 kB / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0009572/0.254, allocations: 277.2 kB / 0.7878 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.2541, allocations: 55.34 kB / 0.7878 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.2542, allocations: 153.4 kB / 0.788 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.2542, allocations: 33.7 kB / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.2543, allocations: 100 kB / 0.7881 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.2544, allocations: 27.56 kB / 0.7881 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.425e-05/0.2544, allocations: 33.69 kB / 0.7882 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.2545, allocations: 323.2 kB / 0.7885 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.2549, allocations: 79.92 kB / 0.7886 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.2551, allocations: 79.8 kB / 0.7886 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005881/0.2557, allocations: 152.7 kB / 0.7888 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2557, allocations: 4 kB / 0.7888 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006922/0.2564, allocations: 201.4 kB / 0.789 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.2565, allocations: 4 kB / 0.789 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2565, allocations: 3.938 kB / 0.789 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.2565, allocations: 0 / 0.789 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.2568, allocations: 39.95 kB / 0.789 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.2568, allocations: 3.984 kB / 0.789 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.2569, allocations: 27.91 kB / 0.7891 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.257, allocations: 4 kB / 0.7891 GB, free: 7.395 MB / 0.6075 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.y,add1.u[3],add1.u[2],add1.u[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.2571, allocations: 121.8 kB / 0.7892 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.2571, allocations: 15.81 kB / 0.7892 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.401e-05/0.2572, allocations: 24.64 kB / 0.7892 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2572, allocations: 4 kB / 0.7892 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.2572, allocations: 0 / 0.7892 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.2572, allocations: 3.938 kB / 0.7892 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.2575, allocations: 233.5 kB / 0.7894 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2575, allocations: 0 / 0.7894 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.2577, allocations: 35.95 kB / 0.7895 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2577, allocations: 0 / 0.7895 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.2577, allocations: 7.938 kB / 0.7895 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2577, allocations: 4 kB / 0.7895 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2577, allocations: 288 / 0.7895 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000645/0.2584, allocations: 299.2 kB / 0.7898 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.333e-05/0.2585, allocations: 88.92 kB / 0.7899 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.2585, allocations: 11.94 kB / 0.7899 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.2587, allocations: 19.97 kB / 0.7899 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.2588, allocations: 31.95 kB / 0.7899 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.2588, allocations: 4 kB / 0.7899 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001065/0.2589, allocations: 115.2 kB / 0.79 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.21e-07/0.259, allocations: 0 / 0.79 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002539/0.2592, allocations: 23.94 kB / 0.7901 GB, free: 6.273 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001078/0.2603, allocations: 0.8449 MB / 0.7909 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006276/0.2609, allocations: 183.8 kB / 0.7911 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2609, allocations: 0 / 0.7911 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003105/0.2613, allocations: 99.91 kB / 0.7912 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.2616, allocations: 15.22 kB / 0.7912 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.2646, allocations: 1.84 MB / 0.793 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.265, allocations: 0.7002 MB / 0.7936 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000105/0.2651, allocations: 24.42 kB / 0.7937 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.2652, allocations: 47.41 kB / 0.7937 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2652, allocations: 0 / 0.7937 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.2866, allocations: 3.754 MB / 0.7974 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.207/8.493, allocations: 18.27 kB / 0.7974 GB, free: 14.71 MB / 0.6231 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)