Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests") 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: 109.4 kB / 15.69 MB, free: 128 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.001187/0.001187, allocations: 189.6 kB / 16.62 MB, free: 6.582 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.425/1.425, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.746/1.746, allocations: 292.3 MB / 0.5489 GB, free: 12.76 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.001537/0.001537, allocations: 74.39 kB / 0.6723 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2089, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests): time 0.002051/0.2109, allocations: 0.8138 MB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000885/0.2119, allocations: 0.8594 MB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.777e-05/0.2119, allocations: 4 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.212, allocations: 7.875 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.888e-05/0.2121, allocations: 15.81 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001062/0.2122, allocations: 35.94 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.2124, allocations: 135.7 kB / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.2125, allocations: 27.98 kB / 0.786 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.704e-05/0.2126, allocations: 55.78 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.053e-05/0.2127, allocations: 59.8 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.2127, allocations: 12 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.75e-05/0.2128, allocations: 8 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.596e-05/0.2128, allocations: 23.92 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.694e-05/0.2129, allocations: 59.66 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.213, allocations: 127.5 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2131, allocations: 4 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2131, allocations: 0 / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2131, allocations: 0 / 0.7863 GB, free: 10.48 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008054/0.2139, allocations: 472.7 kB / 0.7868 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.2139, allocations: 16.03 kB / 0.7868 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.214, allocations: 8.844 kB / 0.7868 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.2142, allocations: 203.1 kB / 0.787 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.2142, allocations: 16.25 kB / 0.787 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.2143, allocations: 4.375 kB / 0.787 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00054/0.2148, allocations: 186.1 kB / 0.7872 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.2148, allocations: 192 / 0.7872 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.2148, allocations: 11.94 kB / 0.7872 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2149, allocations: 0 / 0.7872 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006882/0.2155, allocations: 199.8 kB / 0.7874 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007834/0.2163, allocations: 404.5 kB / 0.7878 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004356/0.2168, allocations: 170.4 kB / 0.7879 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003987/0.2172, allocations: 152.9 kB / 0.7881 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.2172, allocations: 4 kB / 0.7881 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.2173, allocations: 38.56 kB / 0.7881 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.2173, allocations: 0 / 0.7881 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.001294/0.2186, allocations: 466.9 kB / 0.7886 GB, free: 8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.2186, allocations: 85.09 kB / 0.7887 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.2187, allocations: 142.5 kB / 0.7888 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.2188, allocations: 29.7 kB / 0.7888 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.2188, allocations: 108 kB / 0.7889 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.2189, allocations: 19.8 kB / 0.7889 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/0.2189, allocations: 25.72 kB / 0.789 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.219, allocations: 322.9 kB / 0.7893 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003738/0.2194, allocations: 131.8 kB / 0.7894 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/0.2198, allocations: 123.9 kB / 0.7895 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007015/0.2205, allocations: 236.1 kB / 0.7897 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2205, allocations: 0 / 0.7897 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008469/0.2214, allocations: 351.3 kB / 0.7901 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.937e-05/0.2214, allocations: 34.64 kB / 0.7901 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2214, allocations: 0 / 0.7901 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.2214, allocations: 64 / 0.7901 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.2217, allocations: 43.94 kB / 0.7902 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.2217, allocations: 0 / 0.7902 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.2219, allocations: 43.89 kB / 0.7902 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.2219, allocations: 7.938 kB / 0.7902 GB, free: 6.242 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: 1 (numReq1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.222, allocations: 155.5 kB / 0.7903 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.2221, allocations: 11.91 kB / 0.7904 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.341e-05/0.2221, allocations: 12.72 kB / 0.7904 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2221, allocations: 4 kB / 0.7904 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.2221, allocations: 0 / 0.7904 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2222, allocations: 0 / 0.7904 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.2224, allocations: 217.5 kB / 0.7906 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2224, allocations: 0 / 0.7906 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.2226, allocations: 39.89 kB / 0.7906 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2226, allocations: 0 / 0.7906 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.2226, allocations: 4 kB / 0.7906 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2226, allocations: 4 kB / 0.7906 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2226, allocations: 0 / 0.7906 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008959/0.2235, allocations: 444.9 kB / 0.7911 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.2236, allocations: 88.92 kB / 0.7911 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.2236, allocations: 4 kB / 0.7911 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.2238, allocations: 31.95 kB / 0.7912 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/0.2241, allocations: 83.89 kB / 0.7913 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.2241, allocations: 8 kB / 0.7913 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.521e-05/0.2242, allocations: 105.7 kB / 0.7914 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2242, allocations: 0 / 0.7914 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002465/0.2244, allocations: 28 kB / 0.7914 GB, free: 4.914 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: 1 (numReq1.y) * Number of discrete states: 1 (numReq1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0001043/0.2245, allocations: 107.2 kB / 0.7915 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008854/0.2254, allocations: 351.1 kB / 0.7918 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.123e-06/0.2255, allocations: 3.938 kB / 0.7918 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004608/0.2259, allocations: 227.2 kB / 0.792 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.2262, allocations: 26.73 kB / 0.7921 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006083/0.2269, allocations: 345.9 kB / 0.7924 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.2271, allocations: 0.7002 MB / 0.7931 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.798e-05/0.2272, allocations: 11.98 kB / 0.7931 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.2272, allocations: 19.44 kB / 0.7931 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2272, allocations: 0 / 0.7931 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of Templates: time 0.005211/0.2324, allocations: 2.926 MB / 0.796 GB, free: 164 kB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe 2>&1)