Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.568/1.568, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 178.7 kB / 327.6 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.4 MB / 0.5786 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007526/0.0007527, allocations: 87.11 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003448, allocations: 8.438 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2229, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001836/0.2247, allocations: 1.362 MB / 0.9028 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005607/0.2253, allocations: 260.1 kB / 0.903 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.938e-05/0.2254, allocations: 3.938 kB / 0.903 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.2256, allocations: 7.922 kB / 0.903 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.419e-05/0.2257, allocations: 31.78 kB / 0.9031 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.2259, allocations: 59.92 kB / 0.9031 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.2261, allocations: 223.4 kB / 0.9033 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.2263, allocations: 57.47 kB / 0.9034 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.2265, allocations: 79.73 kB / 0.9035 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.2266, allocations: 107.6 kB / 0.9036 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.997e-05/0.2266, allocations: 15.94 kB / 0.9036 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.361e-05/0.2267, allocations: 8 kB / 0.9036 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.705e-05/0.2268, allocations: 59.8 kB / 0.9037 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.2269, allocations: 117.1 kB / 0.9038 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.227, allocations: 171.6 kB / 0.9039 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2271, allocations: 0 / 0.9039 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2271, allocations: 0 / 0.9039 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.2271, allocations: 0 / 0.9039 GB, free: 60.92 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001127/0.2282, allocations: 0.5422 MB / 0.9045 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.2283, allocations: 15.97 kB / 0.9045 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.235e-05/0.2283, allocations: 24.66 kB / 0.9045 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.2286, allocations: 235.8 kB / 0.9047 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/0.2286, allocations: 16.36 kB / 0.9047 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.004e-05/0.2287, allocations: 20.38 kB / 0.9048 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000703/0.2294, allocations: 305.7 kB / 0.9051 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.2294, allocations: 192 / 0.9051 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.2294, allocations: 15.92 kB / 0.9051 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.2295, allocations: 4 kB / 0.9051 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009286/0.2304, allocations: 351.4 kB / 0.9054 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.2317, allocations: 0.6949 MB / 0.9061 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007582/0.2324, allocations: 317.4 kB / 0.9064 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005007/0.233, allocations: 208.7 kB / 0.9066 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.233, allocations: 4 kB / 0.9066 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006909/0.2337, allocations: 308.9 kB / 0.9069 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 1.803e-06/0.2337, allocations: 0 / 0.9069 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.001685/0.2354, allocations: 0.6971 MB / 0.9076 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.2354, allocations: 59.41 kB / 0.9076 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.2356, allocations: 182.4 kB / 0.9078 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.2356, allocations: 33.69 kB / 0.9078 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.656e-05/0.2357, allocations: 132.5 kB / 0.908 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.667e-05/0.2357, allocations: 67.09 kB / 0.908 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.865e-05/0.2358, allocations: 4 kB / 0.908 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.62e-05/0.2358, allocations: 338.8 kB / 0.9084 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004961/0.2363, allocations: 195.8 kB / 0.9085 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004756/0.2368, allocations: 197 kB / 0.9087 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009015/0.2377, allocations: 380.9 kB / 0.9091 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2378, allocations: 0 / 0.9091 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001058/0.2388, allocations: 464.9 kB / 0.9095 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2388, allocations: 11.94 kB / 0.9095 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2389, allocations: 3.984 kB / 0.9095 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.2389, allocations: 3.938 kB / 0.9096 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.2393, allocations: 95.81 kB / 0.9096 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2393, allocations: 4 kB / 0.9096 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003004/0.2396, allocations: 71.78 kB / 0.9097 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.2397, allocations: 8 kB / 0.9097 GB, free: 54.77 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count,$PRE.extIndSig1.index,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 0.0001365/0.2398, allocations: 159.5 kB / 0.9099 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.2398, allocations: 23.72 kB / 0.9099 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.952e-05/0.2399, allocations: 30.48 kB / 0.9099 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2399, allocations: 0 / 0.9099 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.2399, allocations: 0 / 0.9099 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2399, allocations: 0 / 0.9099 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.2413, allocations: 0.8777 MB / 0.9108 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2413, allocations: 3.938 kB / 0.9108 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.2416, allocations: 67.94 kB / 0.9109 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2416, allocations: 0 / 0.9109 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.2416, allocations: 7.984 kB / 0.9109 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2416, allocations: 0 / 0.9109 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2417, allocations: 0 / 0.9109 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.2428, allocations: 0.5969 MB / 0.9114 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/0.2429, allocations: 108.7 kB / 0.9115 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.2429, allocations: 8 kB / 0.9116 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003062/0.2432, allocations: 51.94 kB / 0.9116 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.2433, allocations: 43.94 kB / 0.9116 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/0.2434, allocations: 12 kB / 0.9117 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.68e-05/0.2435, allocations: 131.2 kB / 0.9118 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2435, allocations: 0 / 0.9118 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002674/0.2438, allocations: 52 kB / 0.9118 GB, free: 52.51 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.T_start,pul.count,pul1.T_start,pul1.count,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 4 (pul1.count,pul.count,extIndSig.index,extIndSig1.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0001517/0.2439, allocations: 115.2 kB / 0.9119 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001103/0.245, allocations: 455.5 kB / 0.9124 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.245, allocations: 0 / 0.9124 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005774/0.2456, allocations: 235.8 kB / 0.9126 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.246, allocations: 39.91 kB / 0.9126 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009537/0.247, allocations: 0.5442 MB / 0.9132 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.2472, allocations: 0.744 MB / 0.9139 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.2473, allocations: 19.44 kB / 0.9139 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of SimCode: time 5.31e-07/0.2473, allocations: 3.938 kB / 0.9139 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.004369/0.2517, allocations: 3.224 MB / 0.9171 GB, free: 47.09 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)