Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.Max,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Max",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.0009787/0.0009786, 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.00104/0.00104, allocations: 192.8 kB / 16.25 MB, free: 6.625 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.294/1.294, 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.637/1.637, allocations: 292.3 MB / 0.5486 GB, free: 13.62 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.001413/0.001413, allocations: 73.17 kB / 0.6711 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1999, allocations: 114.6 MB / 0.783 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001934/0.2019, allocations: 0.8307 MB / 0.7838 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009174/0.2028, allocations: 0.8681 MB / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.666e-05/0.2029, allocations: 4 kB / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.558e-05/0.2029, allocations: 7.922 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.129e-05/0.203, allocations: 3.938 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.2032, allocations: 43.95 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.2033, allocations: 83.78 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.2034, allocations: 23.97 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.323e-05/0.2035, allocations: 35.91 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.338e-05/0.2036, allocations: 51.81 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.2036, allocations: 8 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.53e-05/0.2036, allocations: 12 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.2036, allocations: 15.92 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.881e-05/0.2037, allocations: 35.8 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.2038, allocations: 84 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2038, allocations: 4 kB / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2038, allocations: 0 / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.2038, allocations: 0 / 0.7851 GB, free: 11.65 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.000564/0.2044, allocations: 391.1 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2044, allocations: 16.03 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.2045, allocations: 42.67 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.2045, allocations: 8.844 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.2046, allocations: 176.2 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.2047, allocations: 8.375 kB / 0.7857 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.2047, allocations: 4.375 kB / 0.7857 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.205, allocations: 102.2 kB / 0.7858 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.205, allocations: 3.938 kB / 0.7858 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.205, allocations: 8 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.205, allocations: 0 / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003596/0.2054, allocations: 99.83 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.2059, allocations: 352.6 kB / 0.7862 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006103/0.2065, allocations: 122.5 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.2067, allocations: 52.81 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.2067, allocations: 11.98 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.2067, allocations: 30.56 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.2068, allocations: 0 / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006128/0.2074, allocations: 177.5 kB / 0.7866 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.2074, allocations: 59.34 kB / 0.7866 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.675e-05/0.2075, allocations: 121.8 kB / 0.7868 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.2075, allocations: 29.7 kB / 0.7868 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.2076, allocations: 96.06 kB / 0.7869 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.2076, allocations: 15.72 kB / 0.7869 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.2077, allocations: 25.7 kB / 0.7869 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.2078, allocations: 322.8 kB / 0.7872 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.2079, allocations: 47.95 kB / 0.7873 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.2081, allocations: 47.95 kB / 0.7873 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.2085, allocations: 101.2 kB / 0.7874 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2085, allocations: 0 / 0.7874 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003972/0.2089, allocations: 137.5 kB / 0.7875 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.2089, allocations: 7.938 kB / 0.7876 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-06/0.2089, allocations: 0 / 0.7876 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.2089, allocations: 0 / 0.7876 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.2091, allocations: 27.97 kB / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2091, allocations: 0 / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.2092, allocations: 23.91 kB / 0.7876 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.2093, allocations: 7.984 kB / 0.7876 GB, free: 8.789 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,max1.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.658e-05/0.2094, allocations: 117.8 kB / 0.7877 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.2094, allocations: 7.906 kB / 0.7877 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004332/0.2098, allocations: 153.9 kB / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2098, allocations: 3.938 kB / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2099, allocations: 0 / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.2099, allocations: 3.984 kB / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.2101, allocations: 201.5 kB / 0.7881 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2101, allocations: 0 / 0.7881 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.2102, allocations: 23.97 kB / 0.7881 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2102, allocations: 0 / 0.7881 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.2103, allocations: 11.98 kB / 0.7881 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2103, allocations: 0 / 0.7881 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2103, allocations: 0 / 0.7881 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004148/0.2107, allocations: 235.3 kB / 0.7883 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.32e-05/0.2107, allocations: 81.05 kB / 0.7884 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.2108, allocations: 4 kB / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.2109, allocations: 15.98 kB / 0.7884 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.211, allocations: 27.91 kB / 0.7885 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.211, allocations: 4 kB / 0.7885 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.191e-05/0.2111, allocations: 91.27 kB / 0.7885 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2111, allocations: 0 / 0.7885 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002341/0.2113, allocations: 23.84 kB / 0.7886 GB, free: 7.703 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 (max1.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.0007077/0.212, allocations: 0.7632 MB / 0.7893 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003818/0.2124, allocations: 107.8 kB / 0.7894 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2124, allocations: 4 kB / 0.7894 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.2126, allocations: 67.88 kB / 0.7895 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.2129, allocations: 8 kB / 0.7895 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.2149, allocations: 1.554 MB / 0.791 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.2151, allocations: 0.6924 MB / 0.7917 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.94e-05/0.2152, allocations: 8 kB / 0.7917 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.87e-05/0.2153, allocations: 35.41 kB / 0.7917 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of SimCode: time 1.482e-06/0.2153, allocations: 4 kB / 0.7917 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0114/0.2267, allocations: 2.415 MB / 0.7941 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001647/0.2269, allocations: 203.4 kB / 0.7943 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/2.006, allocations: 0 / 0.7943 GB, free: 1.77 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)