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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009566/0.009567, allocations: 170 kB / 16.27 MB, free: 6.66 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.843/1.843, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.792/1.792, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0006292/0.0006293, allocations: 18.08 kB / 0.6743 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3043, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.00154/0.306, allocations: 0.5604 MB / 0.7884 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.3074, allocations: 0.9022 MB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.3076, allocations: 0 / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.3077, allocations: 7.922 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.3079, allocations: 11.88 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.3081, allocations: 51.94 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.3083, allocations: 115.7 kB / 0.7895 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.3085, allocations: 41.09 kB / 0.7895 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.3086, allocations: 51.72 kB / 0.7896 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.3088, allocations: 71.72 kB / 0.7897 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.062e-05/0.3089, allocations: 8 kB / 0.7897 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.146e-05/0.3089, allocations: 4 kB / 0.7897 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.229e-05/0.309, allocations: 27.91 kB / 0.7897 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.492e-05/0.3091, allocations: 69.42 kB / 0.7898 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.3092, allocations: 127.8 kB / 0.7899 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3093, allocations: 0 / 0.7899 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3093, allocations: 4 kB / 0.7899 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.3093, allocations: 0 / 0.7899 GB, free: 9.516 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.000927/0.3102, allocations: 443 kB / 0.7903 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.3103, allocations: 8.031 kB / 0.7903 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.467e-05/0.3103, allocations: 12.84 kB / 0.7903 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.3106, allocations: 204.6 kB / 0.7905 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.3106, allocations: 12.38 kB / 0.7905 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.3107, allocations: 8.375 kB / 0.7905 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004914/0.3112, allocations: 169.6 kB / 0.7907 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3112, allocations: 4 kB / 0.7907 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.3112, allocations: 7.938 kB / 0.7907 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3112, allocations: 0 / 0.7907 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006086/0.3118, allocations: 183.8 kB / 0.7909 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007085/0.3126, allocations: 420.4 kB / 0.7913 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008876/0.3135, allocations: 190.5 kB / 0.7915 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.3138, allocations: 108.9 kB / 0.7916 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.3138, allocations: 3.938 kB / 0.7916 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.3138, allocations: 30.56 kB / 0.7916 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.3138, allocations: 0 / 0.7916 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.001058/0.3149, allocations: 333.2 kB / 0.7919 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.315, allocations: 59.34 kB / 0.792 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.3151, allocations: 153.7 kB / 0.7921 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.3152, allocations: 25.7 kB / 0.7922 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.3152, allocations: 104 kB / 0.7923 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.3153, allocations: 31.55 kB / 0.7923 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.3154, allocations: 17.72 kB / 0.7923 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3155, allocations: 322.8 kB / 0.7926 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.3158, allocations: 87.92 kB / 0.7927 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/0.3161, allocations: 95.92 kB / 0.7928 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005589/0.3167, allocations: 189.3 kB / 0.793 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.3167, allocations: 7.938 kB / 0.793 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006678/0.3174, allocations: 233.4 kB / 0.7932 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3174, allocations: 4 kB / 0.7932 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3174, allocations: 0 / 0.7932 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.3174, allocations: 11.94 kB / 0.7932 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.3177, allocations: 43.89 kB / 0.7933 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.3177, allocations: 4 kB / 0.7933 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.3179, allocations: 31.91 kB / 0.7933 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.3179, allocations: 4 kB / 0.7933 GB, free: 5.793 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.0001331/0.3181, allocations: 125.8 kB / 0.7934 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.3181, allocations: 11.81 kB / 0.7934 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.678e-05/0.3181, allocations: 16.66 kB / 0.7934 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3182, allocations: 4 kB / 0.7934 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3182, allocations: 0 / 0.7934 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3182, allocations: 0 / 0.7934 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.3184, allocations: 237.5 kB / 0.7937 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3185, allocations: 7.938 kB / 0.7937 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.3187, allocations: 47.95 kB / 0.7937 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3187, allocations: 0 / 0.7937 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.3187, allocations: 3.938 kB / 0.7937 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3187, allocations: 3.938 kB / 0.7937 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3188, allocations: 3.984 kB / 0.7937 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007151/0.3195, allocations: 327.3 kB / 0.7941 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.3195, allocations: 96.84 kB / 0.7941 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.3196, allocations: 3.938 kB / 0.7941 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.3198, allocations: 35.97 kB / 0.7942 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.542e-05/0.3199, allocations: 23.97 kB / 0.7942 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.3199, allocations: 7.984 kB / 0.7942 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.217e-05/0.32, allocations: 115.4 kB / 0.7943 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.32, allocations: 0 / 0.7943 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002495/0.3203, allocations: 27.88 kB / 0.7943 GB, free: 4.617 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.00014/0.3204, allocations: 107.2 kB / 0.7945 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006535/0.3211, allocations: 195.8 kB / 0.7946 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3211, allocations: 0 / 0.7946 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003388/0.3214, allocations: 123.8 kB / 0.7948 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.3217, allocations: 11.98 kB / 0.7948 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005631/0.3223, allocations: 284.2 kB / 0.795 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.3226, allocations: 0.7082 MB / 0.7957 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000112/0.3227, allocations: 20.44 kB / 0.7957 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.214e-05/0.3228, allocations: 23.41 kB / 0.7958 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.3228, allocations: 0 / 0.7958 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of Templates: time 0.004607/0.3274, allocations: 2.031 MB / 0.7978 GB, free: 1.082 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: