Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008982/0.0008984, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006436/0.006436, allocations: 169.1 kB / 16.26 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.822/2.822, allocations: 473.4 MB / 0.7469 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004133/0.0004134, allocations: 10.53 kB / 0.9158 GB, free: 33.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.467/0.4674, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001891/0.4694, allocations: 1.026 MB / 1.075 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002467/0.4719, allocations: 1.615 MB / 1.077 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002284/0.4721, allocations: 4 kB / 1.077 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.4723, allocations: 23.73 kB / 1.077 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002479/0.4726, allocations: 51.56 kB / 1.077 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.4739, allocations: 471.7 kB / 1.077 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007064/0.4746, allocations: 0.5584 MB / 1.078 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003425/0.475, allocations: 165.1 kB / 1.078 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003534/0.4753, allocations: 187.4 kB / 1.078 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.4756, allocations: 171.2 kB / 1.078 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.4757, allocations: 20 kB / 1.078 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.4759, allocations: 43.97 kB / 1.078 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.172e-05/0.476, allocations: 55.72 kB / 1.078 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002771/0.4763, allocations: 212.7 kB / 1.079 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006876/0.477, allocations: 0.6229 MB / 1.079 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.477, allocations: 4 kB / 1.079 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.805e-06/0.477, allocations: 0 / 1.079 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.845e-05/0.477, allocations: 0 / 1.079 GB, free: 2.328 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001309/0.4783, allocations: 0.8533 MB / 1.08 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.4784, allocations: 12.03 kB / 1.08 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.4786, allocations: 52.41 kB / 1.08 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.4801, allocations: 0.498 MB / 1.081 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.091e-05/0.4801, allocations: 24.94 kB / 1.081 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.4802, allocations: 44.36 kB / 1.081 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007185/0.481, allocations: 337.3 kB / 1.081 GB, free: 376 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.481, allocations: 3.938 kB / 1.081 GB, free: 372 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.481, allocations: 12 kB / 1.081 GB, free: 360 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.481, allocations: 8 kB / 1.081 GB, free: 352 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006952/0.4817, allocations: 282 kB / 1.081 GB, free: 72 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.4835, allocations: 0.9314 MB / 1.082 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006981/0.4842, allocations: 390.4 kB / 1.083 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005236/0.4847, allocations: 296.9 kB / 1.083 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.4847, allocations: 7.984 kB / 1.083 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006458/0.4854, allocations: 354.8 kB / 1.083 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=44): time 2.525e-06/0.4854, allocations: 0 / 1.083 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44): time 0.001685/0.4871, allocations: 0.8694 MB / 1.084 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.4872, allocations: 195.9 kB / 1.084 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003137/0.4875, allocations: 288.5 kB / 1.085 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.203e-05/0.4876, allocations: 41.69 kB / 1.085 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.4878, allocations: 164.9 kB / 1.085 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.4879, allocations: 130.2 kB / 1.085 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.488, allocations: 57.69 kB / 1.085 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.4882, allocations: 342.8 kB / 1.085 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006611/0.4888, allocations: 296.8 kB / 1.085 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006954/0.4895, allocations: 373.8 kB / 1.086 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.4908, allocations: 0.9285 MB / 1.087 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.4908, allocations: 7.938 kB / 1.087 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001741/0.4926, allocations: 1.013 MB / 1.088 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001633/0.4928, allocations: 267.6 kB / 1.088 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.4928, allocations: 0 / 1.088 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.344e-05/0.4928, allocations: 4 kB / 1.088 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.4931, allocations: 75.83 kB / 1.088 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.4931, allocations: 4 kB / 1.088 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008512/0.494, allocations: 191.5 kB / 1.088 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.4941, allocations: 67.92 kB / 1.088 GB, free: 8.387 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0003201/0.4944, allocations: 324 kB / 1.089 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.909e-05/0.4945, allocations: 39.53 kB / 1.089 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.258e-05/0.4946, allocations: 43.48 kB / 1.089 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.4946, allocations: 4 kB / 1.089 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.4946, allocations: 7.938 kB / 1.089 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4947, allocations: 3.938 kB / 1.089 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.4965, allocations: 1.222 MB / 1.09 GB, free: 6.625 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.4965, allocations: 4 kB / 1.09 GB, free: 6.621 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.4968, allocations: 71.89 kB / 1.09 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.4968, allocations: 0 / 1.09 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.4969, allocations: 11.98 kB / 1.09 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.4969, allocations: 4 kB / 1.09 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4969, allocations: 3.938 kB / 1.09 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.4981, allocations: 0.7925 MB / 1.091 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.668e-05/0.4982, allocations: 112.7 kB / 1.091 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.4983, allocations: 8 kB / 1.091 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.4985, allocations: 31.97 kB / 1.091 GB, free: 5.523 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.4986, allocations: 39.89 kB / 1.091 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.285e-05/0.4987, allocations: 51.94 kB / 1.091 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002098/0.4989, allocations: 199.1 kB / 1.091 GB, free: 5.242 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4989, allocations: 0 / 1.091 GB, free: 5.242 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004503/0.4994, allocations: 111.8 kB / 1.091 GB, free: 5.133 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * 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.0002192/0.4996, allocations: 122.2 kB / 1.091 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001622/0.5012, allocations: 1.144 MB / 1.093 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.5012, allocations: 4 kB / 1.093 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006556/0.5019, allocations: 0.5247 MB / 1.093 GB, free: 3.164 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005775/0.5025, allocations: 80.55 kB / 1.093 GB, free: 3.086 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.504, allocations: 0.9156 MB / 1.094 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.5045, allocations: 0.8004 MB / 1.095 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002861/0.5048, allocations: 99.12 kB / 1.095 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.536e-05/0.5049, allocations: 35.44 kB / 1.095 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of SimCode: time 3.9e-07/0.5049, allocations: 0 / 1.095 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of Templates: time 0.01259/0.5175, allocations: 6.083 MB / 1.101 GB, free: 11.19 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)