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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001044/0.001044, allocations: 191.3 kB / 16.25 MB, free: 6.633 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.337/1.337, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.65/1.65, allocations: 292.3 MB / 0.5486 GB, free: 13.63 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.001412/0.001412, allocations: 66.97 kB / 0.6711 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1971, allocations: 114.5 MB / 0.783 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001942/0.1991, allocations: 0.8477 MB / 0.7838 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008556/0.2, allocations: 0.8681 MB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.516e-05/0.2, allocations: 0 / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.411e-05/0.2001, allocations: 7.922 kB / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.369e-05/0.2002, allocations: 7.938 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.2004, allocations: 35.95 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.2005, allocations: 87.77 kB / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.2006, allocations: 28.22 kB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.449e-05/0.2007, allocations: 31.91 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.378e-05/0.2008, allocations: 55.77 kB / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.2008, allocations: 8 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.786e-05/0.2009, allocations: 8 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/0.2009, allocations: 19.97 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.44e-05/0.2009, allocations: 35.78 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.2011, allocations: 91.94 kB / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2011, allocations: 0 / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.295e-06/0.2011, allocations: 0 / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2011, allocations: 0 / 0.7851 GB, free: 11.62 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007545/0.2018, allocations: 403.1 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.2019, allocations: 8.031 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.616e-05/0.202, allocations: 42.73 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.988e-05/0.202, allocations: 8.844 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.2022, allocations: 181.9 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.2023, allocations: 4.375 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.2023, allocations: 8.375 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.2026, allocations: 102.1 kB / 0.7858 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2026, allocations: 7.938 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.2026, allocations: 0 / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.2027, allocations: 3.984 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003568/0.203, allocations: 107.8 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005473/0.2036, allocations: 348.6 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008451/0.2044, allocations: 122.5 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.2046, allocations: 56.81 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.2047, allocations: 0 / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.2047, allocations: 30.56 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.2047, allocations: 4 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006645/0.2054, allocations: 189.4 kB / 0.7866 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.2054, allocations: 55.41 kB / 0.7867 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.191e-05/0.2055, allocations: 124.6 kB / 0.7868 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.2055, allocations: 29.7 kB / 0.7868 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.531e-05/0.2056, allocations: 99.98 kB / 0.7869 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.2056, allocations: 23.66 kB / 0.7869 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.878e-05/0.2057, allocations: 21.7 kB / 0.787 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2058, allocations: 326.8 kB / 0.7873 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.206, allocations: 47.95 kB / 0.7873 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.2062, allocations: 47.95 kB / 0.7874 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/0.2066, allocations: 100.8 kB / 0.7875 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2066, allocations: 0 / 0.7875 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004302/0.207, allocations: 130.1 kB / 0.7876 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.2071, allocations: 10.81 kB / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2071, allocations: 0 / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.2071, allocations: 0 / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.2073, allocations: 27.91 kB / 0.7876 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2073, allocations: 4.062 kB / 0.7876 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.2074, allocations: 23.81 kB / 0.7876 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.2074, allocations: 0 / 0.7876 GB, free: 8.746 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: 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 9.734e-05/0.2075, allocations: 121.8 kB / 0.7878 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/0.2076, allocations: 4 kB / 0.7878 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.918e-05/0.2076, allocations: 16.38 kB / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2076, allocations: 3.984 kB / 0.7878 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2076, allocations: 0 / 0.7878 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2077, allocations: 0 / 0.7878 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.2078, allocations: 209.4 kB / 0.788 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2079, allocations: 3.984 kB / 0.788 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.208, allocations: 23.97 kB / 0.788 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.208, allocations: 4 kB / 0.788 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.2081, allocations: 0 / 0.788 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.2081, allocations: 7.938 kB / 0.788 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2081, allocations: 0 / 0.788 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004745/0.2086, allocations: 239.2 kB / 0.7882 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.2086, allocations: 81.11 kB / 0.7883 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.2086, allocations: 4 kB / 0.7883 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.2088, allocations: 15.97 kB / 0.7883 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.452e-05/0.2089, allocations: 15.98 kB / 0.7884 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.2089, allocations: 11.94 kB / 0.7884 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.322e-05/0.2089, allocations: 91.27 kB / 0.7885 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2089, allocations: 4 kB / 0.7885 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002825/0.2092, allocations: 23.84 kB / 0.7885 GB, free: 7.789 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: 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.0007337/0.21, allocations: 0.7747 MB / 0.7892 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000412/0.2104, allocations: 107.9 kB / 0.7893 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2104, allocations: 0 / 0.7893 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.2107, allocations: 63.88 kB / 0.7894 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.211, allocations: 15.94 kB / 0.7894 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.2133, allocations: 1.577 MB / 0.791 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.2135, allocations: 0.6924 MB / 0.7916 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.61e-05/0.2136, allocations: 12 kB / 0.7916 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.906e-05/0.2137, allocations: 31.41 kB / 0.7917 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.2137, allocations: 0 / 0.7917 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0115/0.2252, allocations: 2.462 MB / 0.7941 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001647/0.2254, allocations: 200.1 kB / 0.7943 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/1.968, allocations: 0 / 0.7943 GB, free: 1.789 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1)