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.0007615/0.0007616, allocations: 91.92 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009584/0.0009585, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.7 MB / 0.5499 GB, free: 14.57 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.0005476/0.0005477, allocations: 21.34 kB / 0.6738 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2352, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001004/0.2362, allocations: 497.2 kB / 0.7879 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.2374, allocations: 0.8566 MB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.274e-05/0.2375, allocations: 4 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.504e-05/0.2375, allocations: 3.938 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.858e-05/0.2376, allocations: 3.938 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.2378, allocations: 31.97 kB / 0.7888 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.2379, allocations: 75.81 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.238, allocations: 19.98 kB / 0.7889 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.617e-05/0.2381, allocations: 31.84 kB / 0.7889 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.324e-05/0.2382, allocations: 39.83 kB / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.2382, allocations: 4 kB / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.445e-05/0.2382, allocations: 4 kB / 0.7889 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.2383, allocations: 15.97 kB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.867e-05/0.2383, allocations: 33.64 kB / 0.789 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.957e-05/0.2384, allocations: 59.86 kB / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.2384, allocations: 4 kB / 0.789 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2384, allocations: 0 / 0.789 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2384, allocations: 0 / 0.789 GB, free: 10.16 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.0005777/0.239, allocations: 395.3 kB / 0.7894 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.2391, allocations: 11.97 kB / 0.7894 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.729e-05/0.2391, allocations: 38.56 kB / 0.7895 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.2392, allocations: 11.91 kB / 0.7895 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.2393, allocations: 182.8 kB / 0.7896 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.2394, allocations: 8 kB / 0.7897 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.2394, allocations: 0 / 0.7897 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.2397, allocations: 117.6 kB / 0.7898 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.2397, allocations: 0 / 0.7898 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.2397, allocations: 0 / 0.7898 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.2397, allocations: 0 / 0.7898 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003667/0.2401, allocations: 119.9 kB / 0.7899 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005016/0.2406, allocations: 348.6 kB / 0.7902 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005622/0.2412, allocations: 126.6 kB / 0.7903 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.2414, allocations: 72.75 kB / 0.7904 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.2414, allocations: 0 / 0.7904 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.2414, allocations: 30.56 kB / 0.7904 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 8.21e-07/0.2414, allocations: 0 / 0.7904 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000631/0.2421, allocations: 221.5 kB / 0.7906 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.2421, allocations: 51.41 kB / 0.7907 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.468e-05/0.2422, allocations: 129.7 kB / 0.7908 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.2423, allocations: 25.7 kB / 0.7908 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.469e-05/0.2423, allocations: 96.08 kB / 0.7909 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.2424, allocations: 23.72 kB / 0.791 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.2424, allocations: 3.938 kB / 0.791 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2425, allocations: 314.8 kB / 0.7913 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.2427, allocations: 63.89 kB / 0.7913 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.2428, allocations: 59.89 kB / 0.7914 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.243, allocations: 59.95 kB / 0.7914 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.243, allocations: 0 / 0.7914 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003868/0.2434, allocations: 157.5 kB / 0.7916 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.2435, allocations: 8 kB / 0.7916 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2435, allocations: 0 / 0.7916 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.2435, allocations: 3.953 kB / 0.7916 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.2437, allocations: 27.97 kB / 0.7916 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.2437, allocations: 0.5469 kB / 0.7916 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.2438, allocations: 19.98 kB / 0.7916 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.2438, allocations: 4 kB / 0.7916 GB, free: 7.262 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 (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 9.485e-05/0.2439, allocations: 117.8 kB / 0.7918 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.506e-05/0.244, allocations: 15.89 kB / 0.7918 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004595/0.2444, allocations: 173.9 kB / 0.7919 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2444, allocations: 3.953 kB / 0.7919 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2444, allocations: 4 kB / 0.7919 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.2444, allocations: 0 / 0.7919 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.2447, allocations: 201.5 kB / 0.7921 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2447, allocations: 0 / 0.7921 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.2448, allocations: 31.91 kB / 0.7922 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.2448, allocations: 0 / 0.7922 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.2449, allocations: 4 kB / 0.7922 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2449, allocations: 0 / 0.7922 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2449, allocations: 3.953 kB / 0.7922 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/0.2453, allocations: 263.3 kB / 0.7924 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-05/0.2454, allocations: 85 kB / 0.7925 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.2454, allocations: 4 kB / 0.7925 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.2455, allocations: 15.98 kB / 0.7925 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.395e-05/0.2456, allocations: 23.97 kB / 0.7926 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.2457, allocations: 11.95 kB / 0.7926 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.49e-05/0.2457, allocations: 91.27 kB / 0.7927 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2457, allocations: 0 / 0.7927 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002394/0.246, allocations: 16 kB / 0.7927 GB, free: 6.117 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 (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.0007505/0.2467, allocations: 0.7942 MB / 0.7934 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004012/0.2471, allocations: 127.9 kB / 0.7936 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2472, allocations: 4 kB / 0.7936 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.2474, allocations: 75.89 kB / 0.7936 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.2477, allocations: 17.89 kB / 0.7937 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.249, allocations: 0.6476 MB / 0.7943 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.2493, allocations: 0.6914 MB / 0.795 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.622e-05/0.2493, allocations: 16.17 kB / 0.795 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.644e-05/0.2494, allocations: 23.42 kB / 0.795 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2494, allocations: 0 / 0.795 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0126/0.262, allocations: 2.229 MB / 0.7972 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.2623, allocations: 199.5 kB / 0.7974 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.145, allocations: 0 / 0.7974 GB, free: 1.273 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --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) Environment - environmentSimulation: