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.412/1.412, allocations: 252 MB / 267.6 MB, free: 10.92 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.001215/0.001215, allocations: 179.3 kB / 327.3 MB, free: 2.219 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.739/1.739, allocations: 205.4 MB / 0.5783 GB, free: 20.25 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.0007358/0.0007355, allocations: 98.27 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.000379, allocations: 12.97 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2109, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001937/0.2129, allocations: 1.323 MB / 0.9021 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004964/0.2135, allocations: 272.1 kB / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.938e-05/0.2135, allocations: 4 kB / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.2137, allocations: 11.86 kB / 0.9024 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.558e-05/0.2137, allocations: 23.78 kB / 0.9024 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.214, allocations: 55.92 kB / 0.9025 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.2142, allocations: 199.5 kB / 0.9027 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.2144, allocations: 49.61 kB / 0.9027 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.2145, allocations: 83.72 kB / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.2146, allocations: 103.6 kB / 0.9029 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.362e-05/0.2147, allocations: 12 kB / 0.9029 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.31e-05/0.2147, allocations: 8 kB / 0.9029 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.4e-05/0.2148, allocations: 43.89 kB / 0.903 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.741e-05/0.2149, allocations: 65.56 kB / 0.903 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.215, allocations: 175.6 kB / 0.9032 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.215, allocations: 0 / 0.9032 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.246e-06/0.2151, allocations: 0 / 0.9032 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.2151, allocations: 0 / 0.9032 GB, free: 61.47 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.001219/0.2163, allocations: 0.542 MB / 0.9037 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.2164, allocations: 8.031 kB / 0.9037 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.055e-05/0.2164, allocations: 27.72 kB / 0.9037 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.2167, allocations: 242.6 kB / 0.904 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.421e-05/0.2167, allocations: 16 kB / 0.904 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.2168, allocations: 19.98 kB / 0.904 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007237/0.2175, allocations: 297.3 kB / 0.9043 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.2175, allocations: 0 / 0.9043 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/0.2176, allocations: 11.98 kB / 0.9043 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.2176, allocations: 4 kB / 0.9043 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009601/0.2185, allocations: 351.5 kB / 0.9046 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.2199, allocations: 0.6948 MB / 0.9053 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008075/0.2207, allocations: 321.3 kB / 0.9056 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00053/0.2212, allocations: 204.7 kB / 0.9058 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.2213, allocations: 3.938 kB / 0.9058 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006989/0.222, allocations: 316.9 kB / 0.9061 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 3.176e-06/0.222, allocations: 0 / 0.9061 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.001726/0.2237, allocations: 0.6893 MB / 0.9068 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.2238, allocations: 59.39 kB / 0.9069 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.2239, allocations: 186.4 kB / 0.907 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.224, allocations: 29.7 kB / 0.9071 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/0.224, allocations: 128.5 kB / 0.9072 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.2241, allocations: 67.11 kB / 0.9073 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.856e-05/0.2241, allocations: 8 kB / 0.9073 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.2243, allocations: 338.8 kB / 0.9076 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005204/0.2248, allocations: 191.9 kB / 0.9078 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005009/0.2253, allocations: 197 kB / 0.908 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005008/0.2258, allocations: 188.2 kB / 0.9081 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.2258, allocations: 0 / 0.9081 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001112/0.2269, allocations: 469 kB / 0.9086 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.227, allocations: 4 kB / 0.9086 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.227, allocations: 7.938 kB / 0.9086 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/0.227, allocations: 4 kB / 0.9086 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00047/0.2275, allocations: 87.92 kB / 0.9087 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.2275, allocations: 4 kB / 0.9087 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003317/0.2279, allocations: 71.78 kB / 0.9088 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.2279, allocations: 7.938 kB / 0.9088 GB, free: 55.54 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001794/0.2281, allocations: 155.5 kB / 0.9089 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.202e-05/0.2282, allocations: 19.8 kB / 0.9089 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.268e-05/0.2282, allocations: 22.56 kB / 0.909 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.2282, allocations: 4 kB / 0.909 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.2283, allocations: 0 / 0.909 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.2283, allocations: 11.92 kB / 0.909 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.2297, allocations: 0.866 MB / 0.9098 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.2297, allocations: 3.984 kB / 0.9098 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.23, allocations: 59.95 kB / 0.9099 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.23, allocations: 3.938 kB / 0.9099 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.23, allocations: 11.98 kB / 0.9099 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.23, allocations: 0 / 0.9099 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.23, allocations: 0 / 0.9099 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.2311, allocations: 0.6046 MB / 0.9105 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.2312, allocations: 96.77 kB / 0.9106 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.2312, allocations: 8 kB / 0.9106 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/0.2316, allocations: 59.94 kB / 0.9106 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.2317, allocations: 43.92 kB / 0.9107 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.2317, allocations: 15.92 kB / 0.9107 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.12e-05/0.2318, allocations: 131.4 kB / 0.9108 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2318, allocations: 0 / 0.9108 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002688/0.2321, allocations: 55.98 kB / 0.9109 GB, free: 53.28 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 (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.0001749/0.2323, allocations: 126.9 kB / 0.911 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001089/0.2334, allocations: 447.5 kB / 0.9114 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2334, allocations: 0 / 0.9114 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005293/0.2339, allocations: 239.8 kB / 0.9116 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.2343, allocations: 29.66 kB / 0.9117 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008488/0.2351, allocations: 0.5257 MB / 0.9122 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.2353, allocations: 0.7364 MB / 0.9129 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.2354, allocations: 23.42 kB / 0.9129 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of SimCode: time 1.242e-06/0.2354, allocations: 0 / 0.9129 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of Templates: time 0.004181/0.2396, allocations: 3.239 MB / 0.9161 GB, free: 47.88 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)