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.0007299/0.00073, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.004581/0.004581, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.42/1.42, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.645/1.645, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0004965/0.0004965, allocations: 15.88 kB / 0.6744 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2278, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001003/0.2288, allocations: 0.4933 MB / 0.7885 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000942/0.2298, allocations: 0.8643 MB / 0.7893 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.183e-05/0.2299, allocations: 4 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.992e-05/0.2299, allocations: 3.938 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.077e-05/0.23, allocations: 11.91 kB / 0.7894 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.2301, allocations: 35.97 kB / 0.7894 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.2303, allocations: 83.77 kB / 0.7895 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.2304, allocations: 23.98 kB / 0.7895 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.506e-05/0.2305, allocations: 27.91 kB / 0.7895 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.302e-05/0.2306, allocations: 39.83 kB / 0.7896 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.2306, allocations: 4 kB / 0.7896 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.439e-05/0.2306, allocations: 4 kB / 0.7896 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.2306, allocations: 19.91 kB / 0.7896 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.845e-05/0.2307, allocations: 53.5 kB / 0.7896 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.2308, allocations: 80 kB / 0.7897 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2308, allocations: 0 / 0.7897 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2308, allocations: 0 / 0.7897 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.2308, allocations: 3.938 kB / 0.7897 GB, free: 9.734 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.0006037/0.2314, allocations: 391.2 kB / 0.7901 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.2315, allocations: 12.03 kB / 0.7901 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.12e-05/0.2315, allocations: 42.69 kB / 0.7901 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.2316, allocations: 8.844 kB / 0.7901 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.2317, allocations: 184.2 kB / 0.7903 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.2317, allocations: 4.375 kB / 0.7903 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.2318, allocations: 8.375 kB / 0.7903 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.2321, allocations: 114.2 kB / 0.7904 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2321, allocations: 3.938 kB / 0.7904 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.2321, allocations: 0 / 0.7904 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.2322, allocations: 0 / 0.7904 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003847/0.2325, allocations: 127.5 kB / 0.7906 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/0.2331, allocations: 340.7 kB / 0.7909 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005994/0.2337, allocations: 134.5 kB / 0.791 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.2339, allocations: 64.81 kB / 0.7911 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.2339, allocations: 7.984 kB / 0.7911 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.2339, allocations: 34.56 kB / 0.7911 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.2339, allocations: 0 / 0.7911 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006799/0.2346, allocations: 217.5 kB / 0.7913 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.2347, allocations: 55.34 kB / 0.7914 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.736e-05/0.2348, allocations: 125.8 kB / 0.7915 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.2348, allocations: 25.7 kB / 0.7915 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.2349, allocations: 95.98 kB / 0.7916 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.2349, allocations: 23.8 kB / 0.7916 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.2349, allocations: 13.72 kB / 0.7917 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.235, allocations: 322.8 kB / 0.792 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.2352, allocations: 51.95 kB / 0.792 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.2354, allocations: 63.94 kB / 0.7921 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.2358, allocations: 116.8 kB / 0.7922 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2358, allocations: 0 / 0.7922 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004407/0.2362, allocations: 165.4 kB / 0.7923 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.2363, allocations: 4 kB / 0.7923 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2363, allocations: 0 / 0.7923 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.2363, allocations: 0 / 0.7923 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.2365, allocations: 35.97 kB / 0.7924 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2365, allocations: 0 / 0.7924 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.2366, allocations: 23.92 kB / 0.7924 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.2366, allocations: 0 / 0.7924 GB, free: 6.742 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 9.101e-05/0.2367, allocations: 121.8 kB / 0.7925 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.2368, allocations: 11.91 kB / 0.7925 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00049/0.2373, allocations: 169.9 kB / 0.7927 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2373, allocations: 7.938 kB / 0.7927 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2373, allocations: 3.938 kB / 0.7927 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2373, allocations: 0 / 0.7927 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.2375, allocations: 201.5 kB / 0.7929 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2375, allocations: 0 / 0.7929 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.2377, allocations: 35.97 kB / 0.7929 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.2377, allocations: 0 / 0.7929 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.2377, allocations: 4 kB / 0.7929 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.2377, allocations: 3.984 kB / 0.7929 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2377, allocations: 0 / 0.7929 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004705/0.2382, allocations: 259.9 kB / 0.7932 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.2382, allocations: 89.02 kB / 0.7933 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.2383, allocations: 0 / 0.7933 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.2384, allocations: 23.98 kB / 0.7933 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.042e-05/0.2385, allocations: 23.95 kB / 0.7933 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.2385, allocations: 0 / 0.7933 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.151e-05/0.2386, allocations: 99.27 kB / 0.7934 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2386, allocations: 0 / 0.7934 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002204/0.2388, allocations: 15.94 kB / 0.7934 GB, free: 5.594 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.0007569/0.2396, allocations: 0.7983 MB / 0.7942 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004338/0.24, allocations: 127.8 kB / 0.7943 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.24, allocations: 0 / 0.7943 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.2402, allocations: 75.94 kB / 0.7944 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.2405, allocations: 8.125 kB / 0.7944 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.2426, allocations: 1.615 MB / 0.796 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.2428, allocations: 0.6887 MB / 0.7967 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.601e-05/0.2429, allocations: 15.94 kB / 0.7967 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.203e-05/0.243, allocations: 31.41 kB / 0.7967 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.243, allocations: 4 kB / 0.7967 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01166/0.2547, allocations: 2.245 MB / 0.7989 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.2548, allocations: 202 kB / 0.7991 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/1.861, allocations: 3.75 kB / 0.7991 GB, free: 15.72 MB / 0.6231 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/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)