Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001154/0.001154, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001324/0.001324, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.501/1.501, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.857/2.857, allocations: 472.6 MB / 0.7447 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 71.36 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4032, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002878/0.4061, allocations: 1.384 MB / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002538/0.4087, allocations: 1.622 MB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.4088, allocations: 7.938 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.409, allocations: 23.8 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.4091, allocations: 51.5 kB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.4103, allocations: 467 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000657/0.411, allocations: 0.5507 MB / 1.072 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004403/0.4115, allocations: 181 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.4117, allocations: 211.4 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.4119, allocations: 203.1 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.78e-05/0.412, allocations: 32 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.4122, allocations: 43.98 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.598e-05/0.4122, allocations: 75.69 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002333/0.4125, allocations: 211 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005902/0.4131, allocations: 0.6425 MB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4131, allocations: 0 / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4131, allocations: 0 / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.4131, allocations: 8 kB / 1.073 GB, free: 5.27 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.001311/0.4144, allocations: 0.935 MB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.4145, allocations: 8.031 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.4146, allocations: 52.47 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.416, allocations: 479.8 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.847e-05/0.416, allocations: 28.94 kB / 1.075 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.608e-05/0.4161, allocations: 40.38 kB / 1.075 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006434/0.4168, allocations: 321.3 kB / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.4168, allocations: 3.938 kB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.4168, allocations: 15.98 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.4168, allocations: 4 kB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006269/0.4175, allocations: 246.1 kB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.419, allocations: 0.9352 MB / 1.076 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006611/0.4197, allocations: 389.3 kB / 1.076 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004842/0.4202, allocations: 278.5 kB / 1.077 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.4202, allocations: 4 kB / 1.077 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005812/0.4208, allocations: 327 kB / 1.077 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 2.725e-06/0.4208, allocations: 0 / 1.077 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.001661/0.4225, allocations: 0.8342 MB / 1.078 GB, free: 160 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.4226, allocations: 191.9 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.4229, allocations: 288.5 kB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-05/0.423, allocations: 41.7 kB / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.4231, allocations: 172.8 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.4233, allocations: 130.2 kB / 1.079 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.4235, allocations: 134.1 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.4237, allocations: 354.7 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005791/0.4242, allocations: 272.8 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00064/0.4249, allocations: 365.8 kB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.4261, allocations: 0.909 MB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.4261, allocations: 3.938 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00169/0.4278, allocations: 0.9937 MB / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001574/0.428, allocations: 255.3 kB / 1.082 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.428, allocations: 4 kB / 1.082 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.428, allocations: 4 kB / 1.082 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.4283, allocations: 67.89 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.4283, allocations: 8.125 kB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006991/0.429, allocations: 147.4 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.4292, allocations: 71.92 kB / 1.082 GB, free: 11.45 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.0003295/0.4295, allocations: 320.6 kB / 1.082 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.769e-05/0.4296, allocations: 39.61 kB / 1.082 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.544e-05/0.4296, allocations: 31.5 kB / 1.082 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.4297, allocations: 8 kB / 1.082 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.4297, allocations: 7.922 kB / 1.082 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.4297, allocations: 0 / 1.082 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.4314, allocations: 1.198 MB / 1.084 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4314, allocations: 0 / 1.084 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.4317, allocations: 67.89 kB / 1.084 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.4317, allocations: 4 kB / 1.084 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.4317, allocations: 11.98 kB / 1.084 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.4317, allocations: 4 kB / 1.084 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.4318, allocations: 3.938 kB / 1.084 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.4328, allocations: 0.7574 MB / 1.084 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.16e-05/0.433, allocations: 116.6 kB / 1.085 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.454e-05/0.433, allocations: 11.98 kB / 1.085 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.4332, allocations: 31.97 kB / 1.085 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.4334, allocations: 39.89 kB / 1.085 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.63e-05/0.4334, allocations: 59.81 kB / 1.085 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002277/0.4337, allocations: 203.1 kB / 1.085 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4337, allocations: 0 / 1.085 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004976/0.4342, allocations: 103.9 kB / 1.085 GB, free: 8.266 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.0002576/0.4345, allocations: 121.3 kB / 1.085 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001512/0.436, allocations: 1.12 MB / 1.086 GB, free: 6.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.436, allocations: 0 / 1.086 GB, free: 6.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006258/0.4366, allocations: 0.5169 MB / 1.087 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005459/0.4372, allocations: 76.59 kB / 1.087 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.4385, allocations: 0.9167 MB / 1.088 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.4389, allocations: 0.7927 MB / 1.088 GB, free: 4.492 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000241/0.4392, allocations: 95.19 kB / 1.089 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.27e-05/0.4392, allocations: 31.44 kB / 1.089 GB, free: 4.363 MB / 0.8419 GB Notification: Performance of SimCode: time 6.21e-07/0.4392, allocations: 0 / 1.089 GB, free: 4.363 MB / 0.8419 GB Notification: Performance of Templates: time 0.0129/0.4521, allocations: 6.097 MB / 1.095 GB, free: 14.34 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)