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.001382/0.001382, allocations: 108.6 kB / 16.37 MB, free: 6.309 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.001395/0.001394, allocations: 189.8 kB / 17.3 MB, free: 5.871 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.669/1.669, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.99/1.99, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.001555/0.001556, allocations: 75.89 kB / 0.6729 GB, free: 5.785 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2886, allocations: 114.5 MB / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002944/0.2916, allocations: 0.852 MB / 0.7856 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.293, allocations: 0.8905 MB / 0.7865 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.674e-05/0.2931, allocations: 4 kB / 0.7865 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.2932, allocations: 15.8 kB / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.2934, allocations: 15.86 kB / 0.7865 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.2936, allocations: 59.88 kB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002353/0.2939, allocations: 127.7 kB / 0.7867 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.2941, allocations: 37.11 kB / 0.7867 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.2942, allocations: 67.69 kB / 0.7868 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.2944, allocations: 79.72 kB / 0.7869 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.2944, allocations: 12 kB / 0.7869 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.666e-05/0.2945, allocations: 12 kB / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.708e-05/0.2946, allocations: 35.91 kB / 0.7869 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.938e-05/0.2947, allocations: 59.64 kB / 0.787 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.2949, allocations: 143.5 kB / 0.7871 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.2949, allocations: 0 / 0.7871 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.995e-06/0.2949, allocations: 4 kB / 0.7871 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.2949, allocations: 0 / 0.7871 GB, free: 0.707 MB / 0.6544 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.001023/0.296, allocations: 442.9 kB / 0.7876 GB, free: 228 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.296, allocations: 15.91 kB / 0.7876 GB, free: 212 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.708e-05/0.2961, allocations: 12.75 kB / 0.7876 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5484/0.8445, allocations: 197.8 kB / 0.7878 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.8445, allocations: 9.938 kB / 0.7878 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.8446, allocations: 8.75 kB / 0.7878 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004778/0.8451, allocations: 150.7 kB / 0.7879 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.8451, allocations: 0 / 0.7879 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.8451, allocations: 6.812 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.8451, allocations: 4.5 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005266/0.8457, allocations: 159.7 kB / 0.7881 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006246/0.8463, allocations: 418 kB / 0.7885 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008062/0.8471, allocations: 174 kB / 0.7887 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.8474, allocations: 85.72 kB / 0.7888 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.8474, allocations: 5.438 kB / 0.7888 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.8474, allocations: 33.75 kB / 0.7888 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.8474, allocations: 0 / 0.7888 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0009448/0.8484, allocations: 279.2 kB / 0.7891 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.8484, allocations: 59.28 kB / 0.7891 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.8486, allocations: 152 kB / 0.7893 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.8486, allocations: 28.89 kB / 0.7893 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/0.8486, allocations: 113.7 kB / 0.7894 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.8487, allocations: 21.41 kB / 0.7894 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.449e-05/0.8488, allocations: 31.89 kB / 0.7894 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.658e-05/0.8488, allocations: 323.3 kB / 0.7898 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.8491, allocations: 74.59 kB / 0.7898 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.8494, allocations: 76.7 kB / 0.7899 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005209/0.8499, allocations: 159.5 kB / 0.79 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8499, allocations: 0 / 0.79 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005737/0.8505, allocations: 201 kB / 0.7902 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.8505, allocations: 5.25 kB / 0.7902 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.319e-06/0.8505, allocations: 2 kB / 0.7902 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.8505, allocations: 0 / 0.7902 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.8508, allocations: 39.5 kB / 0.7903 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.8508, allocations: 0.625 kB / 0.7903 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.851, allocations: 38.89 kB / 0.7903 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.851, allocations: 3.625 kB / 0.7903 GB, free: 47.73 MB / 0.6544 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 8.62e-05/0.8511, allocations: 126.6 kB / 0.7904 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.8511, allocations: 17.81 kB / 0.7905 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.123e-05/0.8512, allocations: 14.69 kB / 0.7905 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.8512, allocations: 0 / 0.7905 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.8512, allocations: 3.125 kB / 0.7905 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/0.8512, allocations: 88.52 kB / 0.7906 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.8513, allocations: 3.375 kB / 0.7906 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.8515, allocations: 21.59 kB / 0.7906 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.277e-05/0.8516, allocations: 36.98 kB / 0.7906 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007243/0.8523, allocations: 299 kB / 0.7909 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006169/0.8529, allocations: 384.5 kB / 0.7913 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002924/0.8532, allocations: 96.62 kB / 0.7914 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.678e-05/0.8533, allocations: 114.8 kB / 0.7915 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of Backend: time 4.81e-07/0.8533, allocations: 0 / 0.7915 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006181/0.8539, allocations: 172.3 kB / 0.7916 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004859/0.8544, allocations: 0.6488 MB / 0.7923 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of Templates: time 0.004903/0.8593, allocations: 2.661 MB / 0.7949 GB, free: 46.37 MB / 0.6544 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)