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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.945/1.945, allocations: 292.3 MB / 308.1 MB, free: 4.309 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.001425/0.001426, allocations: 185.9 kB / 376.9 MB, free: 1.805 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.932/1.932, allocations: 205.1 MB / 0.6354 GB, free: 9.781 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.001113/0.001113, allocations: 104.4 kB / 0.748 GB, free: 61.06 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 59.89 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2632, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.00239/0.2656, allocations: 0.9024 MB / 0.9831 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.2668, allocations: 0.8982 MB / 0.984 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.185e-05/0.2669, allocations: 4 kB / 0.984 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.2671, allocations: 7.922 kB / 0.984 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.2672, allocations: 19.86 kB / 0.984 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.2674, allocations: 47.94 kB / 0.9841 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.2676, allocations: 123.7 kB / 0.9842 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.2677, allocations: 41.09 kB / 0.9842 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.203e-05/0.2678, allocations: 55.77 kB / 0.9843 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.268, allocations: 75.72 kB / 0.9843 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.268, allocations: 8 kB / 0.9843 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 2.38e-05/0.2681, allocations: 12 kB / 0.9844 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.589e-05/0.2681, allocations: 23.91 kB / 0.9844 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.737e-05/0.2682, allocations: 59.64 kB / 0.9844 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.2684, allocations: 123.9 kB / 0.9846 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2684, allocations: 0 / 0.9846 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.485e-06/0.2684, allocations: 4 kB / 0.9846 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.2684, allocations: 3.938 kB / 0.9846 GB, free: 7.949 MB / 0.7136 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.0009029/0.2693, allocations: 446.8 kB / 0.985 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.2694, allocations: 16.03 kB / 0.985 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.621e-05/0.2694, allocations: 8.844 kB / 0.985 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.2697, allocations: 208.6 kB / 0.9852 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.2697, allocations: 4.375 kB / 0.9852 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.2697, allocations: 12.38 kB / 0.9852 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004281/0.2702, allocations: 152.2 kB / 0.9854 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.2702, allocations: 0 / 0.9854 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.2702, allocations: 12 kB / 0.9854 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.2702, allocations: 0 / 0.9854 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000556/0.2708, allocations: 159.8 kB / 0.9855 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006774/0.2715, allocations: 416.4 kB / 0.9859 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008086/0.2723, allocations: 178.5 kB / 0.9861 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.2726, allocations: 84.91 kB / 0.9862 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.2726, allocations: 0 / 0.9862 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.2726, allocations: 34.5 kB / 0.9862 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.2726, allocations: 0 / 0.9862 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0009186/0.2736, allocations: 281.6 kB / 0.9865 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.2736, allocations: 59.34 kB / 0.9865 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.2737, allocations: 145.3 kB / 0.9867 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.2738, allocations: 33.64 kB / 0.9867 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.447e-05/0.2739, allocations: 108 kB / 0.9868 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.2739, allocations: 35.55 kB / 0.9869 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.088e-05/0.274, allocations: 29.7 kB / 0.9869 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.2741, allocations: 322.8 kB / 0.9872 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.2744, allocations: 71.86 kB / 0.9873 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.2747, allocations: 79.92 kB / 0.9873 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004924/0.2752, allocations: 156.7 kB / 0.9875 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2752, allocations: 0 / 0.9875 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005806/0.2758, allocations: 205.4 kB / 0.9877 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.2758, allocations: 4 kB / 0.9877 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2758, allocations: 0 / 0.9877 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2758, allocations: 3.938 kB / 0.9877 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.276, allocations: 43.89 kB / 0.9877 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2761, allocations: 4 kB / 0.9877 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.2762, allocations: 23.91 kB / 0.9878 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.2763, allocations: 4 kB / 0.9878 GB, free: 4.445 MB / 0.7136 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.0001029/0.2764, allocations: 125.8 kB / 0.9879 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.2764, allocations: 15.81 kB / 0.9879 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.2764, allocations: 16.66 kB / 0.9879 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.2765, allocations: 8 kB / 0.9879 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2765, allocations: 288 / 0.9879 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2765, allocations: 0 / 0.9879 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.2767, allocations: 237.5 kB / 0.9881 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2767, allocations: 3.938 kB / 0.9881 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.277, allocations: 39.89 kB / 0.9882 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.277, allocations: 0 / 0.9882 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.277, allocations: 3.938 kB / 0.9882 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.277, allocations: 0 / 0.9882 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.277, allocations: 3.984 kB / 0.9882 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.2782, allocations: 0.9462 MB / 0.9891 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.2782, allocations: 92.92 kB / 0.9892 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.2782, allocations: 0 / 0.9892 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.2784, allocations: 19.97 kB / 0.9892 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.2785, allocations: 39.89 kB / 0.9893 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.2786, allocations: 0 / 0.9893 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.789e-05/0.2786, allocations: 111.2 kB / 0.9894 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2786, allocations: 4 kB / 0.9894 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000342/0.279, allocations: 27.94 kB / 0.9894 GB, free: 2.625 MB / 0.7136 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.0001502/0.2791, allocations: 105.8 kB / 0.9895 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005828/0.2797, allocations: 175.8 kB / 0.9897 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2797, allocations: 3.938 kB / 0.9897 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.2801, allocations: 103.8 kB / 0.9898 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.2803, allocations: 12.47 kB / 0.9898 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006261/0.281, allocations: 398.8 kB / 0.9902 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.2813, allocations: 0.716 MB / 0.9909 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001152/0.2814, allocations: 24.42 kB / 0.9909 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.821e-05/0.2815, allocations: 15.42 kB / 0.9909 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of SimCode: time 2e-07/0.2815, allocations: 0 / 0.9909 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of Templates: time 0.004435/0.2859, allocations: 2.134 MB / 0.993 GB, free: 14.89 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)