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.01091/0.01091, allocations: 101.2 kB / 15.73 MB, free: 6.055 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.001929/0.001929, allocations: 196.6 kB / 16.68 MB, free: 5.969 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.824/1.824, allocations: 205.1 MB / 222.5 MB, free: 4.477 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.735/1.735, allocations: 251.7 MB / 0.5094 GB, free: 3.023 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.001519/0.001519, allocations: 68.33 kB / 0.7258 GB, free: 9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3038, allocations: 104.7 MB / 0.828 GB, free: 184 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.003136/0.3069, allocations: 1.561 MB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006401/0.3076, allocations: 220.2 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.851e-05/0.3077, allocations: 4 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.3078, allocations: 15.86 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.617e-05/0.3079, allocations: 23.72 kB / 0.8298 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.3082, allocations: 43.94 kB / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.3084, allocations: 167.5 kB / 0.83 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.3086, allocations: 33.42 kB / 0.83 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.3087, allocations: 71.7 kB / 0.8301 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.3089, allocations: 71.73 kB / 0.8302 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.496e-05/0.3089, allocations: 16 kB / 0.8302 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.82e-05/0.3089, allocations: 12 kB / 0.8302 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.579e-05/0.309, allocations: 43.88 kB / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.25e-05/0.3091, allocations: 67.59 kB / 0.8303 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.3094, allocations: 163.4 kB / 0.8305 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3094, allocations: 3.938 kB / 0.8305 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3094, allocations: 0 / 0.8305 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.3094, allocations: 0 / 0.8305 GB, free: 13.66 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.001259/0.3107, allocations: 0.4947 MB / 0.831 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.3107, allocations: 8.031 kB / 0.831 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.433e-05/0.3108, allocations: 16.75 kB / 0.831 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.3111, allocations: 216 kB / 0.8312 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.3111, allocations: 8.359 kB / 0.8312 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.3112, allocations: 12.38 kB / 0.8312 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000646/0.3118, allocations: 210.3 kB / 0.8314 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3118, allocations: 192 / 0.8314 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.3119, allocations: 7.938 kB / 0.8314 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3119, allocations: 4 kB / 0.8314 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008013/0.3127, allocations: 191.7 kB / 0.8316 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.3141, allocations: 0.7784 MB / 0.8324 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007074/0.3148, allocations: 236.9 kB / 0.8326 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004197/0.3153, allocations: 112.3 kB / 0.8327 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.3153, allocations: 11.98 kB / 0.8327 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007193/0.316, allocations: 211.3 kB / 0.8329 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 4.579e-06/0.316, allocations: 0 / 0.8329 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.001465/0.3175, allocations: 357.4 kB / 0.8332 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.3176, allocations: 158.2 kB / 0.8334 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.3178, allocations: 183.1 kB / 0.8336 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.3178, allocations: 29.7 kB / 0.8336 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.318, allocations: 119.9 kB / 0.8337 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/0.318, allocations: 31.64 kB / 0.8337 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.53e-05/0.3181, allocations: 33.7 kB / 0.8338 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3182, allocations: 326.8 kB / 0.8341 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004387/0.3187, allocations: 107.8 kB / 0.8342 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004453/0.3191, allocations: 136.2 kB / 0.8343 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008066/0.3199, allocations: 235.9 kB / 0.8345 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.32, allocations: 0 / 0.8345 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009913/0.321, allocations: 273.2 kB / 0.8348 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.321, allocations: 6.812 kB / 0.8348 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.321, allocations: 0 / 0.8348 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.321, allocations: 4 kB / 0.8348 GB, free: 8.836 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.3214, allocations: 51.88 kB / 0.8349 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.3214, allocations: 11.94 kB / 0.8349 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.3217, allocations: 43.95 kB / 0.8349 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.3217, allocations: 7.984 kB / 0.8349 GB, free: 8.723 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.000156/0.3219, allocations: 136.4 kB / 0.8351 GB, free: 8.582 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.3219, allocations: 19.75 kB / 0.8351 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.31e-05/0.322, allocations: 20.92 kB / 0.8351 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.322, allocations: 0 / 0.8351 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.322, allocations: 11.94 kB / 0.8351 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.322, allocations: 0 / 0.8351 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.3223, allocations: 229.5 kB / 0.8353 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3223, allocations: 4 kB / 0.8353 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.3225, allocations: 35.95 kB / 0.8354 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3225, allocations: 3.938 kB / 0.8354 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.3225, allocations: 4 kB / 0.8354 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3225, allocations: 3.984 kB / 0.8354 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.3225, allocations: 11.94 kB / 0.8354 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009371/0.3235, allocations: 292.1 kB / 0.8357 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/0.3236, allocations: 92.91 kB / 0.8358 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.3236, allocations: 4 kB / 0.8358 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.3239, allocations: 39.95 kB / 0.8358 GB, free: 7.723 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.324, allocations: 35.89 kB / 0.8358 GB, free: 7.688 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.324, allocations: 4 kB / 0.8358 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001046/0.3241, allocations: 127.2 kB / 0.836 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.3241, allocations: 0 / 0.836 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002584/0.3244, allocations: 35.94 kB / 0.836 GB, free: 7.523 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.0001599/0.3246, allocations: 103.2 kB / 0.8361 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009499/0.3255, allocations: 231.6 kB / 0.8363 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3255, allocations: 4.188 kB / 0.8363 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005038/0.3261, allocations: 131.8 kB / 0.8364 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.3264, allocations: 28.17 kB / 0.8365 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007263/0.3271, allocations: 291 kB / 0.8367 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.3274, allocations: 0.7197 MB / 0.8374 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.279e-05/0.3276, 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 6.941e-05/0.3276, allocations: 15.42 kB / 0.8375 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of SimCode: time 3.41e-07/0.3276, allocations: 7.875 kB / 0.8375 GB, free: 5.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.005647/0.3333, allocations: 2.238 MB / 0.8397 GB, free: 3.691 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)