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 1.479/1.479, allocations: 287.4 MB / 302.6 MB, free: 8.223 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.001118/0.001118, allocations: 178.5 kB / 371.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.2/1.2, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0006967/0.0006967, allocations: 88.48 kB / 0.7431 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003527, allocations: 11.59 kB / 0.8662 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1694, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.0006824/0.1701, allocations: 485.6 kB / 0.9792 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007348/0.1709, allocations: 0.8555 MB / 0.98 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.825e-05/0.1709, allocations: 4 kB / 0.9801 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.433e-05/0.171, allocations: 7.938 kB / 0.9801 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.242e-05/0.171, allocations: 3.938 kB / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.1712, allocations: 31.95 kB / 0.9801 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.309e-05/0.1713, allocations: 67.83 kB / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.1714, allocations: 31.97 kB / 0.9802 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.611e-05/0.1714, allocations: 27.86 kB / 0.9802 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.263e-05/0.1715, allocations: 43.81 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.1715, allocations: 4 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.287e-05/0.1715, allocations: 4 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.1716, allocations: 7.984 kB / 0.9803 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.787e-05/0.1716, allocations: 37.64 kB / 0.9803 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.955e-05/0.1716, allocations: 60.12 kB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1716, allocations: 0 / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.42e-07/0.1717, allocations: 0 / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.1717, allocations: 4 kB / 0.9804 GB, free: 26.38 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.000428/0.1721, allocations: 389.3 kB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.1721, allocations: 15.97 kB / 0.9808 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.891e-05/0.1722, allocations: 38.73 kB / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.1722, allocations: 8.844 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.725e-05/0.1723, allocations: 180.2 kB / 0.981 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.1723, allocations: 8.375 kB / 0.981 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.1723, allocations: 8.375 kB / 0.981 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.1726, allocations: 114.7 kB / 0.9811 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.1726, allocations: 3.938 kB / 0.9811 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1726, allocations: 4 kB / 0.9811 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1726, allocations: 4 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003253/0.173, allocations: 124.5 kB / 0.9812 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.1734, allocations: 340.6 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005172/0.1739, allocations: 130.6 kB / 0.9817 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.1741, allocations: 64.81 kB / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.1741, allocations: 8 kB / 0.9817 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.071e-05/0.1741, allocations: 34.5 kB / 0.9818 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.103e-06/0.1741, allocations: 0 / 0.9818 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005514/0.1747, allocations: 213.5 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.1747, allocations: 55.39 kB / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.687e-05/0.1748, allocations: 117.8 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.347e-06/0.1748, allocations: 25.7 kB / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.793e-05/0.1748, allocations: 104 kB / 0.9823 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.1748, allocations: 15.8 kB / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.1748, allocations: 4 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.714e-05/0.1749, allocations: 322.8 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.175, allocations: 51.95 kB / 0.9826 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.1752, allocations: 63.95 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/0.1755, allocations: 116.7 kB / 0.9828 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1755, allocations: 0 / 0.9828 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003446/0.1759, allocations: 161.5 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.1759, allocations: 4 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.1759, allocations: 0 / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1759, allocations: 0 / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.1761, allocations: 35.97 kB / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1761, allocations: 4 kB / 0.983 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.1762, allocations: 27.86 kB / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.1762, allocations: 3.984 kB / 0.983 GB, free: 23.41 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 5.541e-05/0.1763, allocations: 127 kB / 0.9832 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.1763, allocations: 7.906 kB / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003907/0.1767, allocations: 173.9 kB / 0.9833 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1767, allocations: 3.984 kB / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1767, allocations: 0 / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1767, allocations: 11.92 kB / 0.9834 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.1769, allocations: 193.6 kB / 0.9835 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1769, allocations: 0 / 0.9835 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.177, allocations: 27.97 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.177, allocations: 4 kB / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.177, allocations: 11.92 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1771, allocations: 0 / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1771, allocations: 0 / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/0.1774, allocations: 259.9 kB / 0.9838 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.1775, allocations: 85.02 kB / 0.9839 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.1775, allocations: 0 / 0.9839 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.1776, allocations: 19.98 kB / 0.9839 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/0.1777, allocations: 19.97 kB / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.1777, allocations: 4 kB / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.167e-05/0.1777, allocations: 91.7 kB / 0.984 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1778, allocations: 0 / 0.984 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001941/0.1779, allocations: 19.94 kB / 0.9841 GB, free: 22.28 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.0005353/0.1785, allocations: 0.8022 MB / 0.9848 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003468/0.1788, allocations: 119.9 kB / 0.985 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1789, allocations: 0 / 0.985 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.179, allocations: 79.88 kB / 0.985 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.1793, allocations: 13.89 kB / 0.985 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.1803, allocations: 0.6562 MB / 0.9857 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.905e-05/0.1804, allocations: 0.6887 MB / 0.9864 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.879e-05/0.1805, allocations: 15.98 kB / 0.9864 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.1806, allocations: 27.36 kB / 0.9864 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.1806, allocations: 0 / 0.9864 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01186/0.1925, allocations: 2.231 MB / 0.9886 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001337/0.1926, allocations: 190.8 kB / 0.9888 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/1.693, allocations: 3.938 kB / 0.9888 GB, free: 17.43 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)