Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001326, allocations: 104.6 kB / 16.36 MB, free: 6.355 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.001183/0.001183, allocations: 194.2 kB / 17.3 MB, free: 5.891 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.468/1.468, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.775/1.775, allocations: 292.3 MB / 0.5496 GB, free: 17.36 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.001424/0.001425, allocations: 67.91 kB / 0.6729 GB, free: 5.773 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2526, allocations: 114.6 MB / 0.7848 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.003557/0.2562, allocations: 0.889 MB / 0.7857 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.2581, allocations: 0.871 MB / 0.7865 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.159e-05/0.2582, allocations: 7.938 kB / 0.7865 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.2584, allocations: 11.86 kB / 0.7865 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.2586, allocations: 23.73 kB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.2589, allocations: 47.94 kB / 0.7866 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003974/0.2593, allocations: 135.5 kB / 0.7867 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002773/0.2596, allocations: 53.33 kB / 0.7868 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.2597, allocations: 59.81 kB / 0.7868 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.2599, allocations: 79.73 kB / 0.7869 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.599e-05/0.26, allocations: 12 kB / 0.7869 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.179e-05/0.2601, allocations: 12 kB / 0.7869 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.534e-05/0.2602, allocations: 51.83 kB / 0.787 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.47e-05/0.2603, allocations: 63.59 kB / 0.7871 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.2606, allocations: 171.3 kB / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.125e-05/0.2606, allocations: 0 / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.334e-06/0.2606, allocations: 3.938 kB / 0.7872 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.2606, allocations: 0 / 0.7872 GB, free: 0.5938 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001498/0.2622, allocations: 0.5026 MB / 0.7877 GB, free: 40 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 7.978e-05/0.2623, allocations: 8.031 kB / 0.7877 GB, free: 32 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.49e-05/0.2623, allocations: 16.75 kB / 0.7877 GB, free: 16 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3878/0.6501, allocations: 221.7 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.6502, allocations: 7 kB / 0.788 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.6502, allocations: 7.625 kB / 0.788 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005644/0.6508, allocations: 183.1 kB / 0.7881 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.6508, allocations: 3.656 kB / 0.7881 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.6508, allocations: 3.25 kB / 0.7881 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.6508, allocations: 2.844 kB / 0.7881 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007266/0.6516, allocations: 227.5 kB / 0.7884 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009152/0.6525, allocations: 0.5046 MB / 0.7889 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004425/0.653, allocations: 152.6 kB / 0.789 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003603/0.6533, allocations: 115.7 kB / 0.7891 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.6534, allocations: 0.5938 kB / 0.7891 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.6534, allocations: 44.72 kB / 0.7892 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.984e-06/0.6534, allocations: 0 / 0.7892 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.001226/0.6546, allocations: 356.6 kB / 0.7895 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.6547, allocations: 55.66 kB / 0.7895 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.6548, allocations: 179.7 kB / 0.7897 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.6548, allocations: 29.61 kB / 0.7897 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.6549, allocations: 128.3 kB / 0.7899 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.6549, allocations: 31.28 kB / 0.7899 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.185e-05/0.655, allocations: 27.73 kB / 0.7899 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.559e-05/0.655, allocations: 329.1 kB / 0.7902 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003571/0.6554, allocations: 106.2 kB / 0.7903 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.6557, allocations: 107.1 kB / 0.7904 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007057/0.6565, allocations: 213.9 kB / 0.7906 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6565, allocations: 0 / 0.7906 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00075/0.6572, allocations: 258.2 kB / 0.7909 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.6573, allocations: 6.125 kB / 0.7909 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.6573, allocations: 0 / 0.7909 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.6573, allocations: 0 / 0.7909 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/0.6576, allocations: 47.45 kB / 0.7909 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.6576, allocations: 0 / 0.7909 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.6578, allocations: 38.31 kB / 0.791 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.6578, allocations: 2.625 kB / 0.791 GB, free: 47.66 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.729e-05/0.6579, allocations: 135 kB / 0.7911 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.658, allocations: 16.53 kB / 0.7911 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.101e-05/0.658, allocations: 21.16 kB / 0.7911 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.658, allocations: 0 / 0.7911 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.658, allocations: 0 / 0.7911 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.658, allocations: 7.031 kB / 0.7912 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.6583, allocations: 245.3 kB / 0.7914 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6583, allocations: 0 / 0.7914 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.6585, allocations: 51.53 kB / 0.7914 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.6585, allocations: 2.625 kB / 0.7914 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.6585, allocations: 0 / 0.7914 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.6585, allocations: 2.188 kB / 0.7914 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6585, allocations: 1.172 kB / 0.7914 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007548/0.6593, allocations: 363.1 kB / 0.7918 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.6593, allocations: 89.83 kB / 0.7919 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.6594, allocations: 0 / 0.7919 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.6596, allocations: 35.73 kB / 0.7919 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/0.6597, allocations: 12.25 kB / 0.7919 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.6597, allocations: 5.75 kB / 0.7919 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.764e-05/0.6597, allocations: 135.6 kB / 0.7921 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.92e-07/0.6598, allocations: 1.844 kB / 0.7921 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002393/0.66, allocations: 32.12 kB / 0.7921 GB, free: 47.02 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.00013/0.6601, allocations: 100.6 kB / 0.7922 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007681/0.6609, allocations: 233.5 kB / 0.7924 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6609, allocations: 0 / 0.7924 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003577/0.6613, allocations: 110.5 kB / 0.7925 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.6616, allocations: 26.47 kB / 0.7925 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005579/0.6622, allocations: 339.6 kB / 0.7929 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.6623, allocations: 0.7318 MB / 0.7936 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.933e-05/0.6624, allocations: 12.69 kB / 0.7936 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of SimCode: time 1.373e-06/0.6624, allocations: 0 / 0.7936 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of Templates: time 0.003501/0.6659, allocations: 2.029 MB / 0.7956 GB, free: 45.94 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1)