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.696/2.697, allocations: 287.5 MB / 302.4 MB, free: 8.246 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.001355/0.001355, allocations: 189.9 kB / 371 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.296/2.296, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009697/0.0009691, allocations: 97.66 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005323/0.0005328, allocations: 20.59 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2181, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001001/0.2191, allocations: 481.6 kB / 0.9789 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.2203, allocations: 0.8641 MB / 0.9798 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.284e-05/0.2203, allocations: 4 kB / 0.9798 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.875e-05/0.2204, allocations: 3.984 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.104e-05/0.2205, allocations: 3.938 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.2207, allocations: 31.91 kB / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.2208, allocations: 71.81 kB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.2209, allocations: 27.98 kB / 0.9799 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.417e-05/0.221, allocations: 23.92 kB / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.355e-05/0.2211, allocations: 43.81 kB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.2211, allocations: 4 kB / 0.98 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.091e-05/0.2212, allocations: 4 kB / 0.98 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.2212, allocations: 15.92 kB / 0.98 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.154e-05/0.2212, allocations: 29.7 kB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.2213, allocations: 63.84 kB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2214, allocations: 3.938 kB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.075e-06/0.2214, allocations: 4 kB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.2214, allocations: 0 / 0.9801 GB, free: 26.57 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.0007209/0.2221, allocations: 387.3 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.2222, allocations: 12.02 kB / 0.9805 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.42e-05/0.2222, allocations: 42.55 kB / 0.9805 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.2223, allocations: 11.86 kB / 0.9805 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.2224, allocations: 174.9 kB / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.2224, allocations: 0 / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.2225, allocations: 4 kB / 0.9807 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004623/0.223, allocations: 122.7 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.223, allocations: 11.88 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.223, allocations: 3.984 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.223, allocations: 0 / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007023/0.2237, allocations: 115.9 kB / 0.9809 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006568/0.2244, allocations: 344.7 kB / 0.9813 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.2255, allocations: 134.5 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003323/0.2258, allocations: 68.8 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.2259, allocations: 0 / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.2259, allocations: 38.52 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/0.2259, allocations: 0 / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.001119/0.227, allocations: 217.5 kB / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.2271, allocations: 55.41 kB / 0.9818 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.2272, allocations: 121.8 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.2272, allocations: 25.7 kB / 0.9819 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.2273, allocations: 100 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.2274, allocations: 23.72 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.112e-05/0.2274, allocations: 0 / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.524e-05/0.2274, allocations: 318.8 kB / 0.9823 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003252/0.2278, allocations: 55.95 kB / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.2281, allocations: 55.95 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/0.2285, allocations: 63.95 kB / 0.9825 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2285, allocations: 0 / 0.9825 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007382/0.2292, allocations: 149.5 kB / 0.9826 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.2293, allocations: 15.89 kB / 0.9826 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2293, allocations: 0 / 0.9826 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2293, allocations: 0 / 0.9826 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/0.2296, allocations: 31.97 kB / 0.9827 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2296, allocations: 0 / 0.9827 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.2299, allocations: 23.97 kB / 0.9827 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.2299, allocations: 7.938 kB / 0.9827 GB, free: 23.66 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 0.0001087/0.23, allocations: 115.2 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.2301, allocations: 3.906 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007958/0.2309, allocations: 185.8 kB / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.2309, allocations: 0 / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2309, allocations: 4 kB / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2309, allocations: 4 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.2312, allocations: 205.5 kB / 0.9832 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2312, allocations: 0 / 0.9832 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003233/0.2315, allocations: 27.97 kB / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.2315, allocations: 0 / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.2316, allocations: 4 kB / 0.9832 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.2316, allocations: 7.953 kB / 0.9832 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2316, allocations: 0 / 0.9832 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000764/0.2324, allocations: 259.3 kB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.2324, allocations: 84.95 kB / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.2325, allocations: 0 / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.2327, allocations: 23.97 kB / 0.9836 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.2328, allocations: 23.92 kB / 0.9836 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.2328, allocations: 4 kB / 0.9836 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.121e-05/0.2329, allocations: 103.6 kB / 0.9837 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2329, allocations: 0 / 0.9837 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000306/0.2332, allocations: 12 kB / 0.9837 GB, free: 22.52 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.00102/0.2343, allocations: 0.7833 MB / 0.9845 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007246/0.235, allocations: 139.9 kB / 0.9846 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.235, allocations: 7.938 kB / 0.9846 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003997/0.2354, allocations: 63.95 kB / 0.9847 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.2359, allocations: 11.95 kB / 0.9847 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.2378, allocations: 0.6533 MB / 0.9853 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.238, allocations: 0.6926 MB / 0.986 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001198/0.2381, allocations: 8.188 kB / 0.986 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.2382, allocations: 35.41 kB / 0.9861 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of SimCode: time 1.402e-06/0.2382, allocations: 0 / 0.9861 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.2604, allocations: 2.232 MB / 0.9882 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/0.2607, allocations: 195.3 kB / 0.9884 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.524/2.785, allocations: 0 / 0.9884 GB, free: 17.68 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)