Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.975/2.975, allocations: 287.3 MB / 302.3 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001517/0.001517, allocations: 184 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.257/2.257, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 96.59 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007078/0.0007079, allocations: 12.92 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2176, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.000949/0.2186, allocations: 477.7 kB / 0.9788 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.2197, allocations: 0.8603 MB / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/0.2198, allocations: 4 kB / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.419e-05/0.2198, allocations: 0 / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.301e-05/0.2199, allocations: 7.922 kB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.2201, allocations: 39.89 kB / 0.9797 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.974e-05/0.2202, allocations: 39.95 kB / 0.9797 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.2204, allocations: 27.91 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.436e-05/0.2205, allocations: 31.91 kB / 0.9797 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.2206, allocations: 43.81 kB / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.2206, allocations: 4 kB / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.069e-05/0.2207, allocations: 8 kB / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.2207, allocations: 7.984 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.2207, allocations: 33.64 kB / 0.9798 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.2208, allocations: 63.84 kB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.2209, allocations: 0 / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2209, allocations: 0 / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2209, allocations: 0 / 0.9799 GB, free: 26.63 MB / 0.6198 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.0007521/0.2216, allocations: 391.3 kB / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.2217, allocations: 12.02 kB / 0.9803 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.929e-05/0.2218, allocations: 34.56 kB / 0.9803 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.2218, allocations: 11.86 kB / 0.9803 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.2219, allocations: 178.8 kB / 0.9805 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.222, allocations: 8 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.222, allocations: 4 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004828/0.2225, allocations: 117.6 kB / 0.9806 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.2225, allocations: 0 / 0.9806 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.2226, allocations: 7.938 kB / 0.9806 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2226, allocations: 4 kB / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006613/0.2233, allocations: 117.9 kB / 0.9807 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006991/0.224, allocations: 348.6 kB / 0.9811 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.2251, allocations: 126.6 kB / 0.9812 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.2252, allocations: 8 kB / 0.9812 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.2252, allocations: 34.5 kB / 0.9812 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 3.186e-06/0.2252, allocations: 0 / 0.9812 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.001128/0.2263, allocations: 217.7 kB / 0.9814 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.2264, allocations: 51.41 kB / 0.9815 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.985e-05/0.2265, allocations: 125.7 kB / 0.9816 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.2265, allocations: 25.7 kB / 0.9816 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.2266, allocations: 104 kB / 0.9817 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.2266, allocations: 19.7 kB / 0.9818 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.092e-05/0.2267, allocations: 0 / 0.9818 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.833e-05/0.2267, allocations: 314.8 kB / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/0.2271, allocations: 55.95 kB / 0.9821 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.2274, allocations: 63.89 kB / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.2277, allocations: 55.95 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2277, allocations: 0 / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007176/0.2285, allocations: 162 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.87e-05/0.2285, allocations: 4 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2285, allocations: 7.953 kB / 0.9824 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.2285, allocations: 0 / 0.9824 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/0.2289, allocations: 31.97 kB / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.2289, allocations: 80 / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.2291, allocations: 19.98 kB / 0.9824 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.2291, allocations: 3.984 kB / 0.9824 GB, free: 23.8 MB / 0.6198 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 (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 initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.795e-05/0.2292, allocations: 127.7 kB / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.2293, allocations: 11.84 kB / 0.9826 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007837/0.2301, allocations: 169.9 kB / 0.9827 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.2301, allocations: 7.953 kB / 0.9827 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2301, allocations: 0 / 0.9827 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2301, allocations: 3.984 kB / 0.9828 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.2304, allocations: 201.5 kB / 0.9829 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2304, allocations: 0 / 0.9829 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/0.2307, allocations: 35.97 kB / 0.983 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.2307, allocations: 0 / 0.983 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.2307, allocations: 0 / 0.983 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.2308, allocations: 3.984 kB / 0.983 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2308, allocations: 7.891 kB / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007735/0.2315, allocations: 251.4 kB / 0.9832 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/0.2316, allocations: 89 kB / 0.9833 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.2316, allocations: 8 kB / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.2319, allocations: 15.98 kB / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.232, allocations: 23.92 kB / 0.9834 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.232, allocations: 4 kB / 0.9834 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.815e-05/0.2321, allocations: 95.27 kB / 0.9835 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.11e-07/0.2321, allocations: 0 / 0.9835 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003134/0.2324, allocations: 12 kB / 0.9835 GB, free: 22.66 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009832/0.2334, allocations: 0.7904 MB / 0.9842 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007136/0.2342, allocations: 127.9 kB / 0.9844 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2342, allocations: 3.938 kB / 0.9844 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003607/0.2346, allocations: 79.88 kB / 0.9844 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.2349, allocations: 4 kB / 0.9844 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.2368, allocations: 0.6569 MB / 0.9851 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.237, allocations: 0.6965 MB / 0.9858 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001213/0.2371, allocations: 8.188 kB / 0.9858 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.2373, allocations: 27.42 kB / 0.9858 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of SimCode: time 1.022e-06/0.2373, allocations: 0 / 0.9858 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.2589, allocations: 2.222 MB / 0.988 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/0.2592, allocations: 192.5 kB / 0.9882 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.573/2.832, allocations: 0 / 0.9882 GB, free: 17.82 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)