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.RealExtractSignal.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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007901/0.007901, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.002221/0.002221, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.92/1.92, allocations: 205.1 MB / 222.5 MB, free: 4.375 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.629/1.629, allocations: 251.7 MB / 0.5094 GB, free: 3.039 MB / 414.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.001442/0.001442, allocations: 67.91 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2962, allocations: 104.7 MB / 0.828 GB, free: 204 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.003194/0.2995, allocations: 1.566 MB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007509/0.3002, allocations: 216.2 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.448e-05/0.3004, allocations: 4 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.3005, allocations: 15.8 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.3007, allocations: 27.8 kB / 0.8298 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.301, allocations: 47.86 kB / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.3013, allocations: 167.5 kB / 0.83 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.3015, allocations: 33.44 kB / 0.83 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.3017, allocations: 75.73 kB / 0.8301 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.3019, allocations: 71.73 kB / 0.8302 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.3019, allocations: 12 kB / 0.8302 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.058e-05/0.302, allocations: 16 kB / 0.8302 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.315e-05/0.3021, allocations: 39.84 kB / 0.8303 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.3022, allocations: 67.58 kB / 0.8303 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.3024, allocations: 167.4 kB / 0.8305 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3024, allocations: 0 / 0.8305 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.267e-06/0.3025, allocations: 4 kB / 0.8305 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.208e-06/0.3025, allocations: 0 / 0.8305 GB, free: 13.67 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001202/0.3037, allocations: 498.6 kB / 0.831 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3037, allocations: 8.031 kB / 0.831 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.918e-05/0.3038, allocations: 20.75 kB / 0.831 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.3041, allocations: 212 kB / 0.8312 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.3041, allocations: 12.38 kB / 0.8312 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.3041, allocations: 8.375 kB / 0.8312 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006139/0.3047, allocations: 214.3 kB / 0.8314 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3048, allocations: 192 / 0.8314 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.3048, allocations: 7.938 kB / 0.8314 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.3048, allocations: 4 kB / 0.8314 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007747/0.3056, allocations: 191.7 kB / 0.8316 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.3071, allocations: 0.7784 MB / 0.8324 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007145/0.3078, allocations: 232.9 kB / 0.8326 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000422/0.3082, allocations: 120.3 kB / 0.8327 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.3082, allocations: 0 / 0.8327 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006645/0.3089, allocations: 215.3 kB / 0.8329 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.834e-06/0.3089, allocations: 0 / 0.8329 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.001407/0.3103, allocations: 353.3 kB / 0.8332 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.48e-05/0.3105, allocations: 162.2 kB / 0.8334 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.3106, allocations: 170.8 kB / 0.8336 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.3107, allocations: 33.7 kB / 0.8336 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.813e-05/0.3108, allocations: 123.8 kB / 0.8337 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.3108, allocations: 31.75 kB / 0.8337 GB, free: 10 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.267e-05/0.3109, allocations: 33.7 kB / 0.8338 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.3111, allocations: 326.8 kB / 0.8341 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004173/0.3115, allocations: 103.8 kB / 0.8342 GB, free: 9.531 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000463/0.312, allocations: 148.1 kB / 0.8343 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007937/0.3128, allocations: 216 kB / 0.8345 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3128, allocations: 0 / 0.8345 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009609/0.3138, allocations: 285.2 kB / 0.8348 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.3138, allocations: 12.09 kB / 0.8348 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3138, allocations: 3.938 kB / 0.8348 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.3139, allocations: 4 kB / 0.8348 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003052/0.3142, allocations: 47.94 kB / 0.8349 GB, free: 8.793 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.3142, allocations: 3.938 kB / 0.8349 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.3145, allocations: 51.81 kB / 0.8349 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.3145, allocations: 8 kB / 0.8349 GB, free: 8.73 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (pul.count,$PRE.pul.count,pul.T_start,$PRE.pul.T_start,$whenCondition2,pul1.count,$PRE.pul1.count,pul1.T_start,$PRE.pul1.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001566/0.3147, allocations: 133.8 kB / 0.8351 GB, free: 8.59 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.3147, allocations: 15.8 kB / 0.8351 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.638e-05/0.3148, allocations: 16.94 kB / 0.8351 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.3148, allocations: 4 kB / 0.8351 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.3148, allocations: 3.938 kB / 0.8351 GB, free: 8.547 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.3148, allocations: 4 kB / 0.8351 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.3151, allocations: 225.5 kB / 0.8353 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3151, allocations: 4 kB / 0.8353 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.3153, allocations: 43.95 kB / 0.8354 GB, free: 8.227 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.3154, allocations: 0 / 0.8354 GB, free: 8.227 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.3154, allocations: 7.984 kB / 0.8354 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.3154, allocations: 0 / 0.8354 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.3154, allocations: 11.81 kB / 0.8354 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008849/0.3163, allocations: 300.2 kB / 0.8357 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.09e-05/0.3164, allocations: 88.92 kB / 0.8358 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.3164, allocations: 4 kB / 0.8358 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.3167, allocations: 39.94 kB / 0.8358 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.3168, allocations: 35.84 kB / 0.8358 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.3168, allocations: 8 kB / 0.8358 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001243/0.317, allocations: 127.2 kB / 0.836 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.317, allocations: 0 / 0.836 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002608/0.3172, allocations: 35.94 kB / 0.836 GB, free: 7.531 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,pul.T_start,pul.count,$whenCondition1,pul1.T_start,pul1.count) * Number of discrete states: 2 (pul1.count,pul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001515/0.3174, allocations: 95.25 kB / 0.8361 GB, free: 7.426 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000947/0.3183, allocations: 235.6 kB / 0.8363 GB, free: 7.195 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3184, allocations: 3.938 kB / 0.8363 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005087/0.3189, allocations: 132.5 kB / 0.8364 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.3192, allocations: 23.98 kB / 0.8365 GB, free: 7.039 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008217/0.3201, allocations: 303.3 kB / 0.8367 GB, free: 6.707 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.3204, allocations: 0.7235 MB / 0.8375 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.3206, allocations: 24.62 kB / 0.8375 GB, free: 5.934 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.173e-05/0.3207, allocations: 15.44 kB / 0.8375 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of SimCode: time 1.042e-06/0.3207, allocations: 0 / 0.8375 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of Templates: time 0.006308/0.327, allocations: 2.242 MB / 0.8397 GB, free: 3.699 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)