Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.Min,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Min",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.0007804/0.0007804, allocations: 98.27 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.004544/0.004544, allocations: 171.8 kB / 16.27 MB, free: 6.371 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.399/1.399, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.665/1.665, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005246/0.0005246, allocations: 20.62 kB / 0.6744 GB, free: 25.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2378, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.0009907/0.2388, allocations: 0.4933 MB / 0.7885 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.2399, allocations: 0.8642 MB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.2e-05/0.24, allocations: 4 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.374e-05/0.24, allocations: 3.938 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.496e-05/0.2401, allocations: 3.938 kB / 0.7893 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.2403, allocations: 39.95 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.2404, allocations: 83.77 kB / 0.7895 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.2405, allocations: 23.98 kB / 0.7895 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.19e-05/0.2406, allocations: 27.91 kB / 0.7895 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.825e-05/0.2407, allocations: 39.83 kB / 0.7896 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.2407, allocations: 4 kB / 0.7896 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.523e-05/0.2408, allocations: 8 kB / 0.7896 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.2408, allocations: 15.92 kB / 0.7896 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.486e-05/0.2409, allocations: 57.48 kB / 0.7896 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.241, allocations: 83.98 kB / 0.7897 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.241, allocations: 0 / 0.7897 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.002e-06/0.241, allocations: 0 / 0.7897 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.241, allocations: 0 / 0.7897 GB, free: 9.699 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.0005887/0.2416, allocations: 391.2 kB / 0.7901 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2416, allocations: 8.031 kB / 0.7901 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.68e-05/0.2417, allocations: 42.73 kB / 0.7901 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.2417, allocations: 8.844 kB / 0.7901 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.2419, allocations: 172.2 kB / 0.7903 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.2419, allocations: 8.375 kB / 0.7903 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.2419, allocations: 8.312 kB / 0.7903 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.2422, allocations: 118.2 kB / 0.7904 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.2423, allocations: 3.938 kB / 0.7904 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.2423, allocations: 3.984 kB / 0.7904 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2423, allocations: 3.938 kB / 0.7904 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004043/0.2427, allocations: 119.9 kB / 0.7906 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005432/0.2433, allocations: 348.6 kB / 0.7909 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006159/0.2439, allocations: 134.5 kB / 0.791 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.2441, allocations: 64.81 kB / 0.7911 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.2441, allocations: 4 kB / 0.7911 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.2442, allocations: 34.56 kB / 0.7911 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.2442, allocations: 0 / 0.7911 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0007178/0.2449, allocations: 221.4 kB / 0.7913 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.2449, allocations: 51.41 kB / 0.7914 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.2451, allocations: 117.8 kB / 0.7915 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.2451, allocations: 29.7 kB / 0.7915 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.2451, allocations: 104 kB / 0.7916 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.2452, allocations: 15.81 kB / 0.7916 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.2452, allocations: 13.7 kB / 0.7916 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2454, allocations: 322.8 kB / 0.792 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.2456, allocations: 55.95 kB / 0.792 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.2458, allocations: 55.95 kB / 0.7921 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/0.2462, allocations: 120.8 kB / 0.7922 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2462, allocations: 0 / 0.7922 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00046/0.2466, allocations: 161.5 kB / 0.7923 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.2467, allocations: 11.98 kB / 0.7923 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2467, allocations: 0 / 0.7923 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.2467, allocations: 0 / 0.7923 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.2469, allocations: 31.97 kB / 0.7924 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2469, allocations: 0 / 0.7924 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.247, allocations: 19.92 kB / 0.7924 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.2471, allocations: 4 kB / 0.7924 GB, free: 6.711 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,min1.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.625e-05/0.2472, allocations: 117.8 kB / 0.7925 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.2472, allocations: 11.89 kB / 0.7925 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005257/0.2477, allocations: 178.4 kB / 0.7927 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.2478, allocations: 4 kB / 0.7927 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2478, allocations: 3.938 kB / 0.7927 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2478, allocations: 0 / 0.7927 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.248, allocations: 197.5 kB / 0.7929 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.248, allocations: 4 kB / 0.7929 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.2482, allocations: 31.97 kB / 0.7929 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.2482, allocations: 0 / 0.7929 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.2482, allocations: 3.938 kB / 0.7929 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.2482, allocations: 4 kB / 0.7929 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2482, allocations: 0 / 0.7929 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005091/0.2487, allocations: 271.3 kB / 0.7932 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.2488, allocations: 89.02 kB / 0.7933 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.2488, allocations: 3.984 kB / 0.7933 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.249, allocations: 15.98 kB / 0.7933 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.252e-05/0.2491, allocations: 23.97 kB / 0.7933 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.2491, allocations: 0 / 0.7933 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.612e-05/0.2492, allocations: 95.27 kB / 0.7934 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2492, allocations: 0 / 0.7934 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002354/0.2494, allocations: 19.94 kB / 0.7934 GB, free: 5.559 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 (min1.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.0008098/0.2502, allocations: 0.7827 MB / 0.7942 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004596/0.2507, allocations: 131.8 kB / 0.7943 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2507, allocations: 0 / 0.7943 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.2509, allocations: 79.94 kB / 0.7944 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.2512, allocations: 12.11 kB / 0.7944 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.2535, allocations: 1.617 MB / 0.796 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.2538, allocations: 0.6887 MB / 0.7967 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.232e-05/0.2539, allocations: 15.94 kB / 0.7967 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.945e-05/0.254, allocations: 23.42 kB / 0.7967 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of SimCode: time 6.91e-07/0.254, allocations: 0 / 0.7967 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01197/0.266, allocations: 2.263 MB / 0.7989 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/0.2662, allocations: 202.5 kB / 0.7991 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/1.872, allocations: 4 kB / 0.7991 GB, free: 15.68 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1)