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.001404/0.001404, allocations: 105.4 kB / 15.7 MB, free: 24 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.001724/0.001724, allocations: 193.4 kB / 16.64 MB, free: 6.453 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.532/1.532, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.757/1.757, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001583/0.001584, allocations: 74.97 kB / 0.6718 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2548, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002538/0.2574, allocations: 0.8565 MB / 0.7845 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.2585, allocations: 0.8944 MB / 0.7854 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.823e-05/0.2586, allocations: 0 / 0.7854 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.2588, allocations: 15.75 kB / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.2589, allocations: 19.86 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.2591, allocations: 59.86 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.2593, allocations: 131.7 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.2595, allocations: 41.11 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.543e-05/0.2596, allocations: 59.77 kB / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.2598, allocations: 79.72 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.2598, allocations: 12 kB / 0.7858 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.202e-05/0.2598, allocations: 12 kB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.333e-05/0.2599, allocations: 35.89 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.237e-05/0.26, allocations: 55.66 kB / 0.7859 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.2601, allocations: 147.7 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.2602, allocations: 0 / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.083e-06/0.2602, allocations: 3.938 kB / 0.786 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2602, allocations: 0 / 0.786 GB, free: 10.83 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.0008308/0.261, allocations: 442.9 kB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.2611, allocations: 12.03 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.894e-05/0.2611, allocations: 38.73 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.2612, allocations: 16.84 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.2614, allocations: 200.7 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.2614, allocations: 8.375 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.2615, allocations: 4.375 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004267/0.2619, allocations: 163.8 kB / 0.7868 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2619, allocations: 0 / 0.7868 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.2619, allocations: 0 / 0.7868 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.262, allocations: 4 kB / 0.7869 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005294/0.2625, allocations: 159.8 kB / 0.787 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007094/0.2632, allocations: 412.4 kB / 0.7874 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008219/0.2641, allocations: 170.6 kB / 0.7876 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.2644, allocations: 92.8 kB / 0.7876 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.2644, allocations: 8 kB / 0.7877 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.2644, allocations: 34.56 kB / 0.7877 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 2.565e-06/0.2644, allocations: 0 / 0.7877 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0009572/0.2654, allocations: 281.4 kB / 0.788 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.2655, allocations: 55.44 kB / 0.788 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.2656, allocations: 157.7 kB / 0.7882 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.2656, allocations: 29.7 kB / 0.7882 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.354e-05/0.2657, allocations: 100 kB / 0.7883 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.2658, allocations: 35.53 kB / 0.7883 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.232e-05/0.2658, allocations: 29.7 kB / 0.7883 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.266, allocations: 326.8 kB / 0.7887 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.2662, allocations: 75.92 kB / 0.7887 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.2665, allocations: 71.92 kB / 0.7888 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005168/0.267, allocations: 160.7 kB / 0.789 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.267, allocations: 0 / 0.789 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005799/0.2676, allocations: 197.4 kB / 0.7891 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.2676, allocations: 11.98 kB / 0.7892 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2677, allocations: 3.938 kB / 0.7892 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.2677, allocations: 0 / 0.7892 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.2679, allocations: 35.95 kB / 0.7892 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.2679, allocations: 4 kB / 0.7892 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.2681, allocations: 23.91 kB / 0.7892 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.2681, allocations: 8 kB / 0.7892 GB, free: 7.289 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.0001225/0.2683, allocations: 126.5 kB / 0.7893 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.2683, allocations: 11.81 kB / 0.7894 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.571e-05/0.2684, allocations: 20.66 kB / 0.7894 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.2684, allocations: 288 / 0.7894 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.2684, allocations: 3.938 kB / 0.7894 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2684, allocations: 0 / 0.7894 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.2687, allocations: 237.5 kB / 0.7896 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2687, allocations: 0 / 0.7896 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.2689, allocations: 39.95 kB / 0.7896 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.2689, allocations: 3.984 kB / 0.7896 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.269, allocations: 7.875 kB / 0.7897 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.269, allocations: 4 kB / 0.7897 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.269, allocations: 0 / 0.7897 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006583/0.2696, allocations: 299.2 kB / 0.7899 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/0.2697, allocations: 92.91 kB / 0.79 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.2697, allocations: 7.938 kB / 0.79 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.2699, allocations: 19.97 kB / 0.7901 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.614e-05/0.27, allocations: 31.97 kB / 0.7901 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.2701, allocations: 0 / 0.7901 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.214e-05/0.2701, allocations: 115.2 kB / 0.7902 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2701, allocations: 4 kB / 0.7902 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002571/0.2704, allocations: 23.94 kB / 0.7902 GB, free: 6.164 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.001003/0.2714, allocations: 0.8411 MB / 0.791 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00062/0.272, allocations: 167.8 kB / 0.7912 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.2721, allocations: 4.375 kB / 0.7912 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.2724, allocations: 103.8 kB / 0.7913 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.2727, allocations: 12 kB / 0.7913 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/0.2756, allocations: 1.851 MB / 0.7931 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.276, allocations: 0.7041 MB / 0.7938 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001167/0.2761, allocations: 20.42 kB / 0.7938 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.2762, allocations: 47.41 kB / 0.7939 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of SimCode: time 3.126e-06/0.2762, allocations: 0 / 0.7939 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/0.2965, allocations: 3.778 MB / 0.7976 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.575/7.871, allocations: 12.5 kB / 0.7976 GB, free: 14.6 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)