Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 106.3 kB / 16.27 MB, free: 5.957 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.00183/0.00183, allocations: 187.1 kB / 17.19 MB, free: 5.59 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.602/1.602, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.772/1.772, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001473/0.001473, allocations: 75.34 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2924, allocations: 114.6 MB / 0.784 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.003344/0.2958, allocations: 0.7746 MB / 0.7848 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001906/0.2978, allocations: 0.8632 MB / 0.7856 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.873e-05/0.2979, allocations: 4 kB / 0.7856 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.718e-05/0.2979, allocations: 7.875 kB / 0.7857 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.2981, allocations: 15.86 kB / 0.7857 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.2984, allocations: 35.95 kB / 0.7857 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.2986, allocations: 91.75 kB / 0.7858 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.2988, allocations: 20.23 kB / 0.7858 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.2989, allocations: 35.91 kB / 0.7858 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.2991, allocations: 55.75 kB / 0.7859 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.032e-05/0.2992, allocations: 8 kB / 0.7859 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.775e-05/0.2992, allocations: 8 kB / 0.7859 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.601e-05/0.2993, allocations: 23.91 kB / 0.7859 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.631e-05/0.2994, allocations: 43.78 kB / 0.786 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.2996, allocations: 83.72 kB / 0.7861 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2996, allocations: 3.938 kB / 0.7861 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.365e-06/0.2996, allocations: 0 / 0.7861 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.2997, allocations: 0 / 0.7861 GB, free: 1.773 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.00103/0.3007, allocations: 403.4 kB / 0.7864 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.3008, allocations: 15.97 kB / 0.7865 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.854e-05/0.3009, allocations: 8.844 kB / 0.7865 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.3011, allocations: 177.5 kB / 0.7866 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.3011, allocations: 8.375 kB / 0.7866 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.3012, allocations: 4.375 kB / 0.7867 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004692/0.3017, allocations: 102.2 kB / 0.7867 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.3017, allocations: 4.188 kB / 0.7868 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.3017, allocations: 7.938 kB / 0.7868 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.3018, allocations: 0 / 0.7868 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006994/0.3025, allocations: 95.84 kB / 0.7869 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009137/0.3034, allocations: 348.6 kB / 0.7872 GB, free: 492 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.3045, allocations: 122.5 kB / 0.7873 GB, free: 360 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003094/0.3048, allocations: 64.81 kB / 0.7874 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.3049, allocations: 0 / 0.7874 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/0.3049, allocations: 34.55 kB / 0.7874 GB, free: 248 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.964e-06/0.3049, allocations: 0 / 0.7874 GB, free: 248 kB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.001242/0.3062, allocations: 185.4 kB / 0.7876 GB, free: 56 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4446/0.7508, allocations: 56.31 kB / 0.7876 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.7511, allocations: 128 kB / 0.7877 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.7511, allocations: 25.7 kB / 0.7878 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/0.7512, allocations: 98.91 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.7512, allocations: 18.58 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.817e-05/0.7513, allocations: 23.31 kB / 0.7879 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.43e-05/0.7514, allocations: 324.2 kB / 0.7882 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.7516, allocations: 46.03 kB / 0.7883 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.7518, allocations: 47.92 kB / 0.7883 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.7521, allocations: 99.53 kB / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.7521, allocations: 0 / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004099/0.7525, allocations: 137.3 kB / 0.7885 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.7526, allocations: 5.219 kB / 0.7885 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.7526, allocations: 1.938 kB / 0.7885 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.7526, allocations: 2.531 kB / 0.7885 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.7528, allocations: 26.75 kB / 0.7886 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.7528, allocations: 0 / 0.7886 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.7529, allocations: 18.75 kB / 0.7886 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.7529, allocations: 6.438 kB / 0.7886 GB, free: 48.22 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: 3 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.641e-05/0.753, allocations: 118.9 kB / 0.7887 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.7531, allocations: 12.34 kB / 0.7887 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.121e-05/0.7531, allocations: 18.53 kB / 0.7887 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.7531, allocations: 6.375 kB / 0.7887 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.7531, allocations: 0 / 0.7887 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.7531, allocations: 0 / 0.7887 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.7533, allocations: 194.8 kB / 0.7889 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.7533, allocations: 0 / 0.7889 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.7535, allocations: 27.02 kB / 0.789 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7535, allocations: 0 / 0.789 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.7535, allocations: 1.656 kB / 0.789 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.7535, allocations: 3.938 kB / 0.789 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7535, allocations: 5.031 kB / 0.789 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004143/0.7539, allocations: 239.8 kB / 0.7892 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/0.754, allocations: 91.8 kB / 0.7893 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.754, allocations: 3.25 kB / 0.7893 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.7542, allocations: 18.44 kB / 0.7893 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.852e-05/0.7543, allocations: 24.97 kB / 0.7893 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.7543, allocations: 0.5 kB / 0.7893 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.697e-05/0.7543, allocations: 104.8 kB / 0.7894 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7543, allocations: 0.5 kB / 0.7894 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002342/0.7546, allocations: 17.78 kB / 0.7894 GB, free: 47.6 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: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001265/0.7547, allocations: 99.19 kB / 0.7895 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004249/0.7551, allocations: 104.9 kB / 0.7896 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.7551, allocations: 0.5312 kB / 0.7896 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.7553, allocations: 59.91 kB / 0.7897 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.7557, allocations: 11.16 kB / 0.7897 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004559/0.7562, allocations: 201.4 kB / 0.7899 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.7563, allocations: 0.6955 MB / 0.7906 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.37e-05/0.7564, allocations: 21.39 kB / 0.7906 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of SimCode: time 3.5e-07/0.7564, allocations: 0 / 0.7906 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.002888/0.7593, allocations: 1.264 MB / 0.7918 GB, free: 46.65 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1)