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.001273/0.001273, allocations: 108 kB / 15.6 MB, free: 132 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.00172/0.00172, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.524/1.524, allocations: 205.1 MB / 222.4 MB, free: 4.559 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.765/1.765, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001595/0.001595, allocations: 74.28 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2349, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002187/0.2371, allocations: 0.7791 MB / 0.7842 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.2382, allocations: 0.8671 MB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.406e-05/0.2382, allocations: 0 / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.08e-05/0.2383, allocations: 11.81 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.021e-05/0.2384, allocations: 7.875 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.2386, allocations: 43.94 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.2387, allocations: 87.77 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.2388, allocations: 23.98 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.472e-05/0.2389, allocations: 35.91 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.434e-05/0.239, allocations: 47.81 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.2391, allocations: 8 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.074e-05/0.2391, allocations: 8 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.115e-05/0.2391, allocations: 31.91 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.287e-05/0.2392, allocations: 31.8 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.2393, allocations: 84 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2393, allocations: 0 / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2393, allocations: 0 / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.2393, allocations: 0 / 0.7855 GB, free: 11.3 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.0006052/0.2399, allocations: 395.1 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.24, allocations: 12.03 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.764e-05/0.24, allocations: 38.75 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.2401, allocations: 8.844 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.2402, allocations: 180.2 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.2402, allocations: 8.375 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.2403, allocations: 4.375 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/0.2406, allocations: 104.9 kB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.2406, allocations: 3.938 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.2406, allocations: 0 / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2406, allocations: 4 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003815/0.241, allocations: 103.8 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.2415, allocations: 352.6 kB / 0.7867 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006219/0.2421, allocations: 118.5 kB / 0.7868 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.2424, allocations: 56.81 kB / 0.7868 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.2424, allocations: 3.984 kB / 0.7868 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.2424, allocations: 34.56 kB / 0.7869 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.2424, allocations: 0 / 0.7869 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000705/0.2431, allocations: 181.5 kB / 0.787 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.2432, allocations: 51.41 kB / 0.7871 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.974e-05/0.2433, allocations: 130.1 kB / 0.7872 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.2433, allocations: 25.7 kB / 0.7872 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.2434, allocations: 96.08 kB / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.2434, allocations: 27.64 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.782e-05/0.2435, allocations: 17.72 kB / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.2436, allocations: 322.8 kB / 0.7877 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.2438, allocations: 47.95 kB / 0.7877 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.244, allocations: 51.89 kB / 0.7878 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003685/0.2444, allocations: 92.77 kB / 0.7879 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2444, allocations: 0 / 0.7879 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004338/0.2448, allocations: 138 kB / 0.788 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.2449, allocations: 4.938 kB / 0.788 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2449, allocations: 80 / 0.788 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.2449, allocations: 7.984 kB / 0.788 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.2451, allocations: 31.91 kB / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.2451, allocations: 3.984 kB / 0.788 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.2452, allocations: 19.92 kB / 0.788 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.2452, allocations: 4 kB / 0.7881 GB, free: 8.445 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 0.0001102/0.2454, allocations: 120.6 kB / 0.7882 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.2454, allocations: 7.906 kB / 0.7882 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004941/0.2459, allocations: 149.9 kB / 0.7883 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.2459, allocations: 7.938 kB / 0.7883 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.2459, allocations: 4 kB / 0.7883 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2459, allocations: 3.938 kB / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.2462, allocations: 197.5 kB / 0.7885 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2462, allocations: 0 / 0.7885 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.2463, allocations: 23.97 kB / 0.7885 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2463, allocations: 0 / 0.7885 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.2464, allocations: 8 kB / 0.7886 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2464, allocations: 0 / 0.7886 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2464, allocations: 0 / 0.7886 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004708/0.2469, allocations: 239.3 kB / 0.7888 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.512e-05/0.2469, allocations: 81.11 kB / 0.7889 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.2469, allocations: 3.984 kB / 0.7889 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.2471, allocations: 15.98 kB / 0.7889 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.2472, allocations: 19.98 kB / 0.7889 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.2472, allocations: 11.92 kB / 0.7889 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.061e-05/0.2472, allocations: 95.31 kB / 0.789 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2473, allocations: 0 / 0.789 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002415/0.2475, allocations: 19.84 kB / 0.789 GB, free: 7.359 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.0007968/0.2483, allocations: 0.7632 MB / 0.7898 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004408/0.2488, allocations: 111.8 kB / 0.7899 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2488, allocations: 0 / 0.7899 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.249, allocations: 63.95 kB / 0.7899 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.2494, allocations: 14.89 kB / 0.7899 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.2517, allocations: 1.545 MB / 0.7915 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.252, allocations: 0.6924 MB / 0.7921 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.766e-05/0.2521, allocations: 8 kB / 0.7921 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.224e-05/0.2521, allocations: 31.42 kB / 0.7922 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of SimCode: time 2.284e-06/0.2522, allocations: 0 / 0.7922 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01784/0.27, allocations: 2.658 MB / 0.7948 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.016/8.286, allocations: 4 kB / 0.7948 GB, free: 1.41 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)