Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.458/1.458, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00131/0.00131, allocations: 189.4 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.4 MB / 0.5775 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00092/0.00092, allocations: 94.03 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005873/0.0005876, allocations: 12.78 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2207, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001392/0.2221, allocations: 1.173 MB / 0.9013 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004225/0.2226, allocations: 178.4 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.961e-05/0.2226, allocations: 4 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.329e-05/0.2227, allocations: 3.984 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.2228, allocations: 7.922 kB / 0.9015 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.2229, allocations: 39.84 kB / 0.9015 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.498e-05/0.223, allocations: 39.94 kB / 0.9016 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.944e-05/0.2231, allocations: 31.86 kB / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.8e-05/0.2232, allocations: 31.91 kB / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.953e-05/0.2233, allocations: 39.83 kB / 0.9017 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.2233, allocations: 4 kB / 0.9017 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.549e-05/0.2233, allocations: 4 kB / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.2234, allocations: 11.97 kB / 0.9017 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.2234, allocations: 37.64 kB / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.642e-05/0.2235, allocations: 55.86 kB / 0.9018 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2235, allocations: 0 / 0.9018 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2235, allocations: 0 / 0.9018 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.2235, allocations: 0 / 0.9018 GB, free: 62.14 MB / 0.6042 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.0005122/0.224, allocations: 387.4 kB / 0.9021 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.2241, allocations: 12.03 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.143e-05/0.2241, allocations: 38.55 kB / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.2241, allocations: 11.86 kB / 0.9022 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.403e-05/0.2242, allocations: 178.9 kB / 0.9024 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.2243, allocations: 4 kB / 0.9024 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.2243, allocations: 4 kB / 0.9024 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.2246, allocations: 123.6 kB / 0.9025 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.2246, allocations: 0 / 0.9025 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.2246, allocations: 3.984 kB / 0.9025 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2246, allocations: 4 kB / 0.9025 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003331/0.225, allocations: 111.9 kB / 0.9026 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000435/0.2254, allocations: 352.5 kB / 0.9029 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005435/0.226, allocations: 130.6 kB / 0.9031 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.226, allocations: 12.14 kB / 0.9031 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.208e-05/0.226, allocations: 34.5 kB / 0.9031 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.226, allocations: 3.938 kB / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005907/0.2266, allocations: 217.4 kB / 0.9033 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.2266, allocations: 55.41 kB / 0.9034 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.511e-05/0.2267, allocations: 117.8 kB / 0.9035 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.2267, allocations: 25.7 kB / 0.9035 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.265e-05/0.2268, allocations: 100 kB / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.2268, allocations: 11.75 kB / 0.9036 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-06/0.2268, allocations: 8 kB / 0.9036 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.456e-05/0.2269, allocations: 314.8 kB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.227, allocations: 59.95 kB / 0.904 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.2272, allocations: 55.95 kB / 0.904 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.2274, allocations: 59.89 kB / 0.9041 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2274, allocations: 0 / 0.9041 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003716/0.2278, allocations: 165.4 kB / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2278, allocations: 4 kB / 0.9043 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2278, allocations: 3.953 kB / 0.9043 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.2278, allocations: 0 / 0.9043 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.228, allocations: 39.97 kB / 0.9043 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.228, allocations: 0 / 0.9043 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.2281, allocations: 19.97 kB / 0.9043 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.2281, allocations: 0 / 0.9043 GB, free: 59.31 MB / 0.6042 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 6.984e-05/0.2282, allocations: 117.8 kB / 0.9044 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.2282, allocations: 11.91 kB / 0.9044 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004706/0.2287, allocations: 174.5 kB / 0.9046 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.2287, allocations: 3.953 kB / 0.9046 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2287, allocations: 4 kB / 0.9046 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2287, allocations: 0 / 0.9046 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.2289, allocations: 197.6 kB / 0.9048 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2289, allocations: 0 / 0.9048 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.2291, allocations: 39.91 kB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2291, allocations: 0 / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.2291, allocations: 0 / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2291, allocations: 0 / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2291, allocations: 7.969 kB / 0.9049 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.2295, allocations: 259.3 kB / 0.9051 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.2295, allocations: 88.95 kB / 0.9052 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.2296, allocations: 0 / 0.9052 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.2297, allocations: 23.97 kB / 0.9052 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/0.2298, allocations: 23.94 kB / 0.9052 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.2298, allocations: 3.984 kB / 0.9052 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.391e-05/0.2298, allocations: 91.7 kB / 0.9053 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2298, allocations: 4 kB / 0.9053 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002138/0.2301, allocations: 12 kB / 0.9053 GB, free: 58.17 MB / 0.6042 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.0005664/0.2306, allocations: 0.7955 MB / 0.9061 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003742/0.231, allocations: 123.9 kB / 0.9062 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.231, allocations: 0 / 0.9062 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.2312, allocations: 79.88 kB / 0.9063 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.2314, allocations: 5.531 kB / 0.9063 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.2326, allocations: 0.661 MB / 0.907 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.2327, allocations: 0.6926 MB / 0.9076 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.529e-05/0.2328, allocations: 15.92 kB / 0.9077 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.443e-05/0.2329, allocations: 35.36 kB / 0.9077 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2329, allocations: 0 / 0.9077 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01189/0.2448, allocations: 2.235 MB / 0.9099 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001344/0.245, allocations: 187.6 kB / 0.91 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/1.858, allocations: 3.938 kB / 0.9101 GB, free: 53.32 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)