Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.704/1.704, allocations: 288.2 MB / 303.2 MB, free: 8.113 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.001169/0.001169, allocations: 182 kB / 371.8 MB, free: 10.3 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.403/1.403, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.0008402/0.0008402, allocations: 97.67 kB / 0.7439 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003699, allocations: 13.06 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.238, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.0009294/0.239, allocations: 0.529 MB / 0.98 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008846/0.2399, allocations: 0.8877 MB / 0.9809 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.2399, allocations: 0 / 0.9809 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.491e-05/0.24, allocations: 7.938 kB / 0.9809 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.2402, allocations: 23.84 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001416/0.2403, allocations: 43.94 kB / 0.9809 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.2404, allocations: 75.84 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.2405, allocations: 33.03 kB / 0.9811 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.443e-05/0.2406, allocations: 51.77 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.2407, allocations: 63.73 kB / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.2407, allocations: 8 kB / 0.9812 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.876e-05/0.2408, allocations: 4 kB / 0.9812 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.437e-05/0.2408, allocations: 27.91 kB / 0.9812 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.2408, allocations: 37.64 kB / 0.9812 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.56e-05/0.2409, allocations: 96.05 kB / 0.9813 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.241, allocations: 0 / 0.9813 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.241, allocations: 0 / 0.9813 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.241, allocations: 4 kB / 0.9813 GB, free: 25.71 MB / 0.6198 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.0007184/0.2417, allocations: 442.8 kB / 0.9818 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.2417, allocations: 16.02 kB / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.202e-05/0.2418, allocations: 42.55 kB / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.2418, allocations: 11.91 kB / 0.9818 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.242, allocations: 209.2 kB / 0.982 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.2421, allocations: 4 kB / 0.982 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.2421, allocations: 8 kB / 0.982 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003917/0.2425, allocations: 161.5 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2425, allocations: 3.953 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.2425, allocations: 4 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.2425, allocations: 4 kB / 0.9822 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005223/0.2431, allocations: 191.8 kB / 0.9824 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000569/0.2436, allocations: 416.4 kB / 0.9828 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007914/0.2445, allocations: 198.5 kB / 0.983 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.2445, allocations: 4.031 kB / 0.983 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.267e-05/0.2445, allocations: 30.56 kB / 0.983 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.2445, allocations: 0 / 0.983 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0009193/0.2454, allocations: 325.5 kB / 0.9833 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.2455, allocations: 59.53 kB / 0.9834 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.2456, allocations: 146 kB / 0.9835 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.2456, allocations: 37.7 kB / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.2457, allocations: 108 kB / 0.9836 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.2457, allocations: 31.55 kB / 0.9837 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/0.2457, allocations: 0 / 0.9837 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.743e-05/0.2458, allocations: 318.8 kB / 0.984 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.2461, allocations: 91.92 kB / 0.9841 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.2463, allocations: 91.86 kB / 0.9842 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.2466, allocations: 91.92 kB / 0.9842 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2466, allocations: 4 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005636/0.2472, allocations: 233.4 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.2472, allocations: 8 kB / 0.9845 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2472, allocations: 0 / 0.9845 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.2472, allocations: 0 / 0.9845 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.2475, allocations: 48.61 kB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2475, allocations: 0 / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.2477, allocations: 39.77 kB / 0.9846 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.2477, allocations: 4 kB / 0.9846 GB, free: 22.17 MB / 0.6198 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 9.229e-05/0.2478, allocations: 126.7 kB / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.2478, allocations: 7.906 kB / 0.9847 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.989e-05/0.2479, allocations: 16.72 kB / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2479, allocations: 3.938 kB / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.2479, allocations: 0 / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2479, allocations: 0 / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.2481, allocations: 245.4 kB / 0.9849 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2481, allocations: 4 kB / 0.985 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.2484, allocations: 47.95 kB / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.2484, allocations: 0 / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.2484, allocations: 0 / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.2484, allocations: 0 / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2484, allocations: 4 kB / 0.985 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006109/0.249, allocations: 335.2 kB / 0.9853 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.2491, allocations: 96.84 kB / 0.9854 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.2491, allocations: 0 / 0.9854 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.2493, allocations: 35.97 kB / 0.9854 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.105e-05/0.2494, allocations: 23.97 kB / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.2494, allocations: 11.98 kB / 0.9855 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.229e-05/0.2495, allocations: 111.8 kB / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2495, allocations: 0 / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002376/0.2497, allocations: 23.94 kB / 0.9856 GB, free: 21.01 MB / 0.6198 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.0008235/0.2505, allocations: 0.8684 MB / 0.9865 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000585/0.2511, allocations: 207.9 kB / 0.9867 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2512, allocations: 4 kB / 0.9867 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002896/0.2515, allocations: 115.8 kB / 0.9868 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.2517, allocations: 13.7 kB / 0.9868 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.2533, allocations: 0.9081 MB / 0.9877 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.2535, allocations: 0.7082 MB / 0.9884 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000113/0.2536, allocations: 28.42 kB / 0.9884 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.2537, allocations: 39.41 kB / 0.9884 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2537, allocations: 4 kB / 0.9884 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01328/0.267, allocations: 3.206 MB / 0.9916 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/0.2672, allocations: 203.2 kB / 0.9918 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.093, allocations: 2.672 kB / 0.9918 GB, free: 14.74 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)