Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 188 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 292.3 MB / 0.549 GB, free: 12.71 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 70.19 kB / 0.6718 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.234, allocations: 114.6 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002038/0.2361, allocations: 0.7787 MB / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009783/0.2371, allocations: 0.8671 MB / 0.7853 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.506e-05/0.2371, allocations: 0 / 0.7853 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.817e-05/0.2372, allocations: 7.875 kB / 0.7853 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.744e-05/0.2373, allocations: 19.84 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.2374, allocations: 35.97 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.2376, allocations: 87.73 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.2377, allocations: 27.98 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.68e-05/0.2378, allocations: 31.92 kB / 0.7855 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.358e-05/0.2378, allocations: 47.81 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.2379, allocations: 8 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.557e-05/0.2379, allocations: 8 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.198e-05/0.2379, allocations: 27.91 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.238, allocations: 39.78 kB / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.2382, allocations: 80.02 kB / 0.7857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2382, allocations: 0 / 0.7857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.146e-06/0.2382, allocations: 7.984 kB / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2382, allocations: 0 / 0.7857 GB, free: 11.17 MB / 0.6075 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.0006449/0.2388, allocations: 395.1 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.2389, allocations: 8.031 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.187e-05/0.239, allocations: 46.67 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.239, allocations: 8.844 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.2392, allocations: 172.2 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.2392, allocations: 4.375 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.2392, allocations: 12.38 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003869/0.2396, allocations: 106.2 kB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2397, allocations: 7.938 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.2397, allocations: 0 / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.2397, allocations: 3.938 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004314/0.2401, allocations: 99.91 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.2407, allocations: 336.6 kB / 0.7868 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005962/0.2413, allocations: 122.5 kB / 0.7869 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.2415, allocations: 60.81 kB / 0.787 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.2415, allocations: 0 / 0.787 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.2415, allocations: 38.5 kB / 0.787 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.2415, allocations: 0 / 0.787 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006474/0.2422, allocations: 185.5 kB / 0.7872 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.2422, allocations: 55.41 kB / 0.7873 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/0.2423, allocations: 121.8 kB / 0.7874 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.2424, allocations: 25.7 kB / 0.7874 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.2424, allocations: 96.06 kB / 0.7875 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.2424, allocations: 15.72 kB / 0.7875 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.2425, allocations: 33.69 kB / 0.7875 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.2426, allocations: 322.8 kB / 0.7878 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.2428, allocations: 43.95 kB / 0.7879 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.243, allocations: 47.95 kB / 0.7879 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.2434, allocations: 100.7 kB / 0.788 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2434, allocations: 0 / 0.788 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004046/0.2438, allocations: 137.4 kB / 0.7882 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.2438, allocations: 8.938 kB / 0.7882 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2438, allocations: 0 / 0.7882 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.2438, allocations: 0 / 0.7882 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.244, allocations: 23.97 kB / 0.7882 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.244, allocations: 4 kB / 0.7882 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.2441, allocations: 23.91 kB / 0.7882 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.2442, allocations: 4 kB / 0.7882 GB, free: 8.32 MB / 0.6075 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 (reaToInt1.y,reaToInt.y,max1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.549e-05/0.2442, allocations: 117.8 kB / 0.7883 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.2443, allocations: 3.906 kB / 0.7883 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004515/0.2447, allocations: 161.9 kB / 0.7885 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2447, allocations: 0 / 0.7885 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2448, allocations: 0 / 0.7885 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2448, allocations: 0 / 0.7885 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.245, allocations: 197.6 kB / 0.7887 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.245, allocations: 3.984 kB / 0.7887 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.2451, allocations: 27.97 kB / 0.7887 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2451, allocations: 0 / 0.7887 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.2452, allocations: 4 kB / 0.7887 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.2452, allocations: 0 / 0.7887 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2452, allocations: 4 kB / 0.7887 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004593/0.2456, allocations: 239.2 kB / 0.7889 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.675e-05/0.2457, allocations: 77.11 kB / 0.789 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.2457, allocations: 4 kB / 0.789 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.2459, allocations: 11.98 kB / 0.789 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.621e-05/0.2459, allocations: 27.95 kB / 0.7891 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.246, allocations: 4 kB / 0.7891 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.852e-05/0.246, allocations: 95.27 kB / 0.7892 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.246, allocations: 3.938 kB / 0.7892 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002282/0.2463, allocations: 19.84 kB / 0.7892 GB, free: 7.238 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000764/0.247, allocations: 0.7678 MB / 0.7899 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000412/0.2475, allocations: 115.9 kB / 0.79 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2475, allocations: 0 / 0.79 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.2477, allocations: 68.08 kB / 0.7901 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.248, allocations: 4 kB / 0.7901 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.2502, allocations: 1.55 MB / 0.7916 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.2505, allocations: 0.6924 MB / 0.7923 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.226e-05/0.2505, allocations: 8 kB / 0.7923 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.194e-05/0.2506, allocations: 27.42 kB / 0.7923 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2506, allocations: 0 / 0.7923 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.2703, allocations: 2.684 MB / 0.7949 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.572/7.842, allocations: 0 / 0.7949 GB, free: 1.281 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)