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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 116.5 kB / 16.37 MB, free: 6 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.00185/0.00185, allocations: 188.1 kB / 17.3 MB, free: 5.617 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.574/1.574, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.933/1.933, allocations: 292.3 MB / 0.5496 GB, free: 17.44 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.00145/0.00145, allocations: 72.11 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2709, allocations: 114.5 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002335/0.2733, allocations: 0.7828 MB / 0.7856 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.2745, allocations: 0.8516 MB / 0.7864 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.033e-05/0.2745, allocations: 3.938 kB / 0.7864 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.206e-05/0.2746, allocations: 7.922 kB / 0.7864 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.58e-05/0.2747, allocations: 11.88 kB / 0.7864 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.2749, allocations: 39.94 kB / 0.7865 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.275, allocations: 91.77 kB / 0.7865 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.2752, allocations: 27.97 kB / 0.7866 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.738e-05/0.2753, allocations: 31.92 kB / 0.7866 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.2754, allocations: 51.75 kB / 0.7867 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.2754, allocations: 8 kB / 0.7867 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.878e-05/0.2754, allocations: 8 kB / 0.7867 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.437e-05/0.2755, allocations: 23.97 kB / 0.7867 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.094e-05/0.2755, allocations: 35.8 kB / 0.7867 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.2757, allocations: 99.58 kB / 0.7868 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2757, allocations: 0 / 0.7868 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2757, allocations: 0 / 0.7868 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.2757, allocations: 3.938 kB / 0.7868 GB, free: 1.121 MB / 0.6544 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.0007105/0.2764, allocations: 387.2 kB / 0.7872 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.2765, allocations: 8.031 kB / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.2765, allocations: 12.84 kB / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.2767, allocations: 180.2 kB / 0.7874 GB, free: 468 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.2767, allocations: 4.375 kB / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.2767, allocations: 4.375 kB / 0.7874 GB, free: 460 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.2771, allocations: 114.1 kB / 0.7875 GB, free: 340 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2771, allocations: 192 / 0.7875 GB, free: 340 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.2771, allocations: 7.922 kB / 0.7875 GB, free: 332 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2771, allocations: 0 / 0.7875 GB, free: 332 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003598/0.2775, allocations: 95.91 kB / 0.7876 GB, free: 236 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.471/0.7485, allocations: 337.6 kB / 0.7879 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007052/0.7493, allocations: 121.4 kB / 0.788 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.7495, allocations: 52.44 kB / 0.7881 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.7495, allocations: 8.859 kB / 0.7881 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.7495, allocations: 30.56 kB / 0.7881 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.805e-06/0.7495, allocations: 0 / 0.7881 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0006734/0.7502, allocations: 184.2 kB / 0.7883 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.7503, allocations: 54.16 kB / 0.7884 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.673e-05/0.7503, allocations: 125 kB / 0.7885 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.7504, allocations: 27.52 kB / 0.7885 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.7504, allocations: 102.3 kB / 0.7886 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.7505, allocations: 15.19 kB / 0.7886 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.7505, allocations: 23.97 kB / 0.7886 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.643e-05/0.7506, allocations: 322.6 kB / 0.7889 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.7507, allocations: 46.7 kB / 0.789 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.7509, allocations: 45.78 kB / 0.789 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.7513, allocations: 93.94 kB / 0.7891 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.7513, allocations: 0 / 0.7891 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003781/0.7516, allocations: 148.5 kB / 0.7893 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.7517, allocations: 9.188 kB / 0.7893 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.7517, allocations: 3.875 kB / 0.7893 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.7517, allocations: 3.219 kB / 0.7893 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.7519, allocations: 22.31 kB / 0.7893 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.7519, allocations: 2.625 kB / 0.7893 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.752, allocations: 11.2 kB / 0.7893 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.752, allocations: 6.312 kB / 0.7893 GB, free: 47.83 MB / 0.6544 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 7.562e-05/0.7521, allocations: 116.2 kB / 0.7894 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.7521, allocations: 12.77 kB / 0.7894 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004453/0.7526, allocations: 154.2 kB / 0.7896 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.7526, allocations: 0 / 0.7896 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.7526, allocations: 4.422 kB / 0.7896 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.7526, allocations: 3.281 kB / 0.7896 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.7528, allocations: 201.4 kB / 0.7898 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7528, allocations: 0 / 0.7898 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.753, allocations: 25.45 kB / 0.7898 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.753, allocations: 3.938 kB / 0.7898 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.753, allocations: 6.469 kB / 0.7898 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.417e-06/0.753, allocations: 1.219 kB / 0.7898 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.753, allocations: 0 / 0.7898 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004218/0.7534, allocations: 232.5 kB / 0.79 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.254e-05/0.7535, allocations: 90.36 kB / 0.7901 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.7535, allocations: 6.875 kB / 0.7901 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.7537, allocations: 13 kB / 0.7902 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.361e-05/0.7538, allocations: 23.06 kB / 0.7902 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.7538, allocations: 6.578 kB / 0.7902 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.763e-05/0.7538, allocations: 92.5 kB / 0.7903 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.052e-06/0.7538, allocations: 0 / 0.7903 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002423/0.7541, allocations: 20.34 kB / 0.7903 GB, free: 47.18 MB / 0.6544 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.0001275/0.7542, allocations: 98.47 kB / 0.7904 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004212/0.7546, allocations: 104.9 kB / 0.7905 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.7546, allocations: 3.719 kB / 0.7905 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.7548, allocations: 59.27 kB / 0.7905 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.7552, allocations: 9.969 kB / 0.7906 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.7556, allocations: 201 kB / 0.7907 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.7558, allocations: 0.6951 MB / 0.7914 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.552e-05/0.7559, allocations: 19.34 kB / 0.7914 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.7559, allocations: 0 / 0.7914 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of Templates: time 0.002719/0.7586, allocations: 1.242 MB / 0.7927 GB, free: 46.21 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1)