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.001149/0.001149, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001477/0.001477, allocations: 177.3 kB / 15.95 MB, free: 216 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.953/1.953, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.727/1.727, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0005574/0.0005574, allocations: 16.44 kB / 0.6737 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3346, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001506/0.3362, allocations: 489.4 kB / 0.7877 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002064/0.3383, allocations: 0.8528 MB / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.3385, allocations: 0 / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.993e-05/0.3386, allocations: 11.92 kB / 0.7886 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.3388, allocations: 4 kB / 0.7886 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004131/0.3392, allocations: 39.83 kB / 0.7886 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.3394, allocations: 43.94 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002096/0.3396, allocations: 19.98 kB / 0.7887 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.3398, allocations: 39.84 kB / 0.7887 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.34, allocations: 31.89 kB / 0.7887 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.3401, allocations: 4 kB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.269e-05/0.3401, allocations: 4 kB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.3402, allocations: 23.91 kB / 0.7888 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.586e-05/0.3402, allocations: 33.64 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.3404, allocations: 59.86 kB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.3405, allocations: 0 / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.252e-06/0.3405, allocations: 0 / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.3405, allocations: 0 / 0.7888 GB, free: 10.21 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.001264/0.3418, allocations: 395.3 kB / 0.7892 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.497e-05/0.3419, allocations: 8.031 kB / 0.7892 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.748e-05/0.342, allocations: 42.55 kB / 0.7893 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.396e-05/0.342, allocations: 7.906 kB / 0.7893 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.3424, allocations: 178.9 kB / 0.7894 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.83e-05/0.3425, allocations: 12 kB / 0.7895 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.91e-05/0.3425, allocations: 4 kB / 0.7895 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006067/0.3431, allocations: 117.5 kB / 0.7896 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.3432, allocations: 3.938 kB / 0.7896 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.3432, allocations: 4 kB / 0.7896 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.3432, allocations: 8 kB / 0.7896 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006747/0.3439, allocations: 115.9 kB / 0.7897 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009334/0.3449, allocations: 348.6 kB / 0.79 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009756/0.3459, allocations: 126.6 kB / 0.7902 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.701e-05/0.3459, allocations: 0 / 0.7902 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.346, allocations: 34.56 kB / 0.7902 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.346, allocations: 4 kB / 0.7902 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.001099/0.3471, allocations: 221.6 kB / 0.7904 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.3471, allocations: 55.41 kB / 0.7905 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.3473, allocations: 121.8 kB / 0.7906 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.3473, allocations: 25.7 kB / 0.7906 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.751e-05/0.3474, allocations: 92.06 kB / 0.7907 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.3475, allocations: 23.72 kB / 0.7907 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/0.3475, allocations: 0 / 0.7907 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3477, allocations: 322.8 kB / 0.791 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.3479, allocations: 51.95 kB / 0.7911 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/0.3482, allocations: 59.95 kB / 0.7911 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.3485, allocations: 59.95 kB / 0.7912 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3486, allocations: 0 / 0.7912 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006782/0.3492, allocations: 161.4 kB / 0.7913 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.3493, allocations: 6.812 kB / 0.7913 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.3493, allocations: 0 / 0.7913 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/0.3494, allocations: 3.953 kB / 0.7913 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.3496, allocations: 31.97 kB / 0.7914 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.3497, allocations: 3.984 kB / 0.7914 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.3499, allocations: 23.98 kB / 0.7914 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.3499, allocations: 0 / 0.7914 GB, free: 7.367 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 (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 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 0.0001603/0.3501, allocations: 117.8 kB / 0.7915 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.284e-05/0.3501, allocations: 7.906 kB / 0.7915 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007479/0.3509, allocations: 173.9 kB / 0.7917 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.3509, allocations: 0 / 0.7917 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.3509, allocations: 3.953 kB / 0.7917 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.351, allocations: 7.938 kB / 0.7917 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003742/0.3513, allocations: 201.5 kB / 0.7919 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3514, allocations: 0 / 0.7919 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.3516, allocations: 31.97 kB / 0.7919 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.3516, allocations: 0 / 0.7919 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.3517, allocations: 4 kB / 0.7919 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3517, allocations: 0 / 0.7919 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3517, allocations: 0 / 0.7919 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007501/0.3524, allocations: 267.9 kB / 0.7922 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.081e-05/0.3525, allocations: 81.02 kB / 0.7923 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.3526, allocations: 8 kB / 0.7923 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.3528, allocations: 19.97 kB / 0.7923 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.353, allocations: 15.97 kB / 0.7923 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.353, allocations: 4 kB / 0.7923 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001185/0.3531, allocations: 103.2 kB / 0.7924 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3531, allocations: 0 / 0.7924 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003919/0.3535, allocations: 12 kB / 0.7924 GB, free: 6.23 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 (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.001142/0.3547, allocations: 0.7905 MB / 0.7932 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006558/0.3554, allocations: 131.9 kB / 0.7933 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3554, allocations: 4 kB / 0.7933 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.3557, allocations: 67.95 kB / 0.7934 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.3561, allocations: 8 kB / 0.7934 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.3584, allocations: 0.6553 MB / 0.794 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.3588, allocations: 0.6926 MB / 0.7947 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001301/0.359, allocations: 16.17 kB / 0.7947 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.3591, allocations: 23.42 kB / 0.7947 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of SimCode: time 1.193e-06/0.3591, allocations: 0 / 0.7947 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01859/0.3777, allocations: 2.231 MB / 0.7969 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003216/0.3781, allocations: 180.3 kB / 0.7971 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.34, allocations: 0 / 0.7971 GB, free: 1.398 MB / 0.6075 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/linux/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) Environment - environmentSimulation: