Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.Min,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Min",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.774/2.774, allocations: 287.5 MB / 302.4 MB, free: 8.203 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.001332/0.001332, allocations: 180.3 kB / 371 MB, free: 10.88 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.159/2.159, allocations: 205.4 MB / 0.6297 GB, free: 10.63 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.001194/0.001193, allocations: 104.7 kB / 0.743 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005146/0.0005148, allocations: 11.97 kB / 0.8659 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2191, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001373/0.2205, allocations: 481.7 kB / 0.9789 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001677/0.2222, allocations: 0.8602 MB / 0.9798 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.003e-05/0.2223, allocations: 4 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.6e-05/0.2224, allocations: 0 / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.2225, allocations: 7.922 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.2228, allocations: 31.97 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.223, allocations: 75.77 kB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.2232, allocations: 19.97 kB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.2233, allocations: 27.91 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.2234, allocations: 39.83 kB / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.2235, allocations: 4 kB / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.945e-05/0.2235, allocations: 8 kB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.113e-05/0.2236, allocations: 15.92 kB / 0.98 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.2236, allocations: 29.7 kB / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.2238, allocations: 59.84 kB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2238, allocations: 0 / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2238, allocations: 4 kB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.2239, allocations: 0 / 0.9801 GB, free: 26.59 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.0009758/0.2248, allocations: 395.3 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.2249, allocations: 12.02 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.487e-05/0.225, allocations: 42.55 kB / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.2251, allocations: 11.86 kB / 0.9805 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.2252, allocations: 170.9 kB / 0.9807 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.2253, allocations: 0 / 0.9807 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.2253, allocations: 11.94 kB / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006955/0.226, allocations: 121.6 kB / 0.9808 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2261, allocations: 4 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.2261, allocations: 0 / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.2261, allocations: 3.938 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.2272, allocations: 119.9 kB / 0.9809 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000922/0.2281, allocations: 340.7 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.2297, allocations: 142.5 kB / 0.9814 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005349/0.2303, allocations: 64.81 kB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/0.2303, allocations: 0 / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.2304, allocations: 38.52 kB / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 3.046e-06/0.2304, allocations: 0 / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.00168/0.2321, allocations: 217.4 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.2322, allocations: 51.41 kB / 0.9817 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.2323, allocations: 125.7 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.2324, allocations: 29.7 kB / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.2324, allocations: 100.1 kB / 0.982 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.423e-05/0.2325, allocations: 19.7 kB / 0.982 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/0.2325, allocations: 4 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.269e-05/0.2326, allocations: 314.8 kB / 0.9823 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005006/0.2331, allocations: 63.95 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004802/0.2336, allocations: 51.95 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004638/0.2341, allocations: 60.42 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2342, allocations: 0 / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001088/0.2353, allocations: 157.5 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.2353, allocations: 11.95 kB / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2353, allocations: 3.984 kB / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.2354, allocations: 0 / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004663/0.2359, allocations: 35.91 kB / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.2359, allocations: 3.938 kB / 0.9827 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.2362, allocations: 19.98 kB / 0.9827 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.2362, allocations: 4 kB / 0.9827 GB, free: 23.67 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 (min1.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 0.0001297/0.2364, allocations: 115.2 kB / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.083e-05/0.2365, allocations: 3.906 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.2377, allocations: 193.8 kB / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.2377, allocations: 0 / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2377, allocations: 0 / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2377, allocations: 0 / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.2381, allocations: 201.5 kB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2381, allocations: 0 / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004321/0.2386, allocations: 27.97 kB / 0.9832 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.2386, allocations: 0 / 0.9832 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.2386, allocations: 4 kB / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.2387, allocations: 7.953 kB / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.2387, allocations: 0 / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.2398, allocations: 255.4 kB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.2399, allocations: 81.02 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/0.2399, allocations: 3.984 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003744/0.2403, allocations: 15.98 kB / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.2405, allocations: 39.84 kB / 0.9836 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.2405, allocations: 4 kB / 0.9836 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.606e-05/0.2406, allocations: 91.27 kB / 0.9837 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.31e-07/0.2407, allocations: 0 / 0.9837 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005143/0.2412, allocations: 16 kB / 0.9837 GB, free: 22.54 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 (min1.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.001452/0.2427, allocations: 0.7876 MB / 0.9845 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001098/0.2438, allocations: 131.8 kB / 0.9846 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2438, allocations: 0 / 0.9846 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005611/0.2444, allocations: 67.95 kB / 0.9847 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005902/0.245, allocations: 19.94 kB / 0.9847 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/0.2479, allocations: 0.646 MB / 0.9853 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.2481, allocations: 0.6926 MB / 0.986 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001807/0.2483, allocations: 8.188 kB / 0.986 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.2485, allocations: 31.41 kB / 0.986 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of SimCode: time 1.422e-06/0.2485, allocations: 0 / 0.986 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02516/0.2737, allocations: 2.257 MB / 0.9882 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003131/0.2741, allocations: 187.3 kB / 0.9884 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.588/2.862, allocations: 0 / 0.9884 GB, free: 17.69 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1)