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.001173/0.001173, 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.001217/0.001217, allocations: 197 kB / 16.14 MB, free: 6.652 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.782/1.782, allocations: 205.1 MB / 222 MB, free: 4.77 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.657/1.657, allocations: 251.7 MB / 0.5088 GB, free: 3.242 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.001414/0.001414, allocations: 63.92 kB / 0.6216 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7412/0.7426, allocations: 104.7 MB / 0.7238 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.00292/0.7456, allocations: 1.63 MB / 0.7254 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005488/0.7462, allocations: 216.2 kB / 0.7256 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.334e-05/0.7463, allocations: 4 kB / 0.7256 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.7464, allocations: 3.938 kB / 0.7256 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.147e-05/0.7465, allocations: 27.78 kB / 0.7256 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.7467, allocations: 43.94 kB / 0.7257 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.747, allocations: 159.5 kB / 0.7258 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.7472, allocations: 25.45 kB / 0.7259 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.7473, allocations: 71.69 kB / 0.7259 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.7474, allocations: 71.72 kB / 0.726 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.7474, allocations: 8 kB / 0.726 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.715e-05/0.7475, allocations: 8 kB / 0.726 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.765e-05/0.7475, allocations: 27.91 kB / 0.726 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.003e-05/0.7476, allocations: 59.59 kB / 0.7261 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.7479, allocations: 153.5 kB / 0.7262 GB, free: 10.62 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.7479, allocations: 0 / 0.7262 GB, free: 10.62 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.61e-07/0.7479, allocations: 0 / 0.7262 GB, free: 10.62 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.351e-06/0.7479, allocations: 4 kB / 0.7263 GB, free: 10.61 MB / 0.545 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.001095/0.749, allocations: 0.4948 MB / 0.7267 GB, free: 10.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.749, allocations: 8.031 kB / 0.7267 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.677e-05/0.7491, allocations: 16.75 kB / 0.7268 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.7494, allocations: 217.2 kB / 0.727 GB, free: 9.793 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.7494, allocations: 8.375 kB / 0.727 GB, free: 9.785 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.7495, allocations: 12.38 kB / 0.727 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006243/0.7501, allocations: 202.3 kB / 0.7272 GB, free: 9.555 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.7501, allocations: 4.188 kB / 0.7272 GB, free: 9.551 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.7502, allocations: 7.938 kB / 0.7272 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.7502, allocations: 4 kB / 0.7272 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007425/0.7509, allocations: 191.7 kB / 0.7274 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.7523, allocations: 0.7901 MB / 0.7281 GB, free: 8.496 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006807/0.7529, allocations: 232.9 kB / 0.7284 GB, free: 8.223 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003953/0.7534, allocations: 116.3 kB / 0.7285 GB, free: 8.094 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.7534, allocations: 0 / 0.7285 GB, free: 8.094 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006708/0.7541, allocations: 207.5 kB / 0.7287 GB, free: 7.863 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.7541, allocations: 3.938 kB / 0.7287 GB, free: 7.859 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001432/0.7555, allocations: 353.2 kB / 0.729 GB, free: 7.508 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.7556, allocations: 166.1 kB / 0.7292 GB, free: 7.309 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.7558, allocations: 174.6 kB / 0.7293 GB, free: 7.129 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.7559, allocations: 25.89 kB / 0.7294 GB, free: 7.098 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.756, allocations: 123.9 kB / 0.7295 GB, free: 6.973 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.756, allocations: 27.66 kB / 0.7295 GB, free: 6.945 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.246e-05/0.7561, allocations: 41.55 kB / 0.7296 GB, free: 6.898 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.7563, allocations: 326.8 kB / 0.7299 GB, free: 6.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004282/0.7568, allocations: 107.9 kB / 0.73 GB, free: 6.465 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/0.7572, allocations: 138 kB / 0.7301 GB, free: 6.316 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007922/0.758, allocations: 228 kB / 0.7303 GB, free: 6.078 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.758, allocations: 4 kB / 0.7303 GB, free: 6.074 MB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008933/0.7589, allocations: 273.2 kB / 0.7306 GB, free: 5.801 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.7589, allocations: 4 kB / 0.7306 GB, free: 5.797 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.759, allocations: 4.375 kB / 0.7306 GB, free: 5.793 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.759, allocations: 0 / 0.7306 GB, free: 5.793 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/0.7593, allocations: 55.88 kB / 0.7306 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.7593, allocations: 7.938 kB / 0.7307 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/0.7596, allocations: 43.91 kB / 0.7307 GB, free: 5.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.7596, allocations: 12.16 kB / 0.7307 GB, free: 5.676 MB / 0.545 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.0001431/0.7598, allocations: 129.3 kB / 0.7308 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.7598, allocations: 23.73 kB / 0.7309 GB, free: 5.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.588e-05/0.7599, allocations: 16.94 kB / 0.7309 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.7599, allocations: 4 kB / 0.7309 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.7599, allocations: 7.922 kB / 0.7309 GB, free: 5.492 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.7599, allocations: 4 kB / 0.7309 GB, free: 5.488 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.7601, allocations: 229.6 kB / 0.7311 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7601, allocations: 0 / 0.7311 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.7604, allocations: 39.94 kB / 0.7311 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.7604, allocations: 4 kB / 0.7311 GB, free: 5.172 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.7604, allocations: 0 / 0.7311 GB, free: 5.172 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.7604, allocations: 4 kB / 0.7311 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.7604, allocations: 7.922 kB / 0.7312 GB, free: 5.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008925/0.7613, allocations: 308 kB / 0.7314 GB, free: 4.828 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.7614, allocations: 96.86 kB / 0.7315 GB, free: 4.715 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.7614, allocations: 4 kB / 0.7315 GB, free: 4.711 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.7616, allocations: 35.94 kB / 0.7316 GB, free: 4.676 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.7618, allocations: 35.91 kB / 0.7316 GB, free: 4.641 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.7618, allocations: 7.984 kB / 0.7316 GB, free: 4.633 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.616e-05/0.7619, allocations: 127.2 kB / 0.7317 GB, free: 4.508 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7619, allocations: 0 / 0.7317 GB, free: 4.508 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002308/0.7621, allocations: 31.94 kB / 0.7318 GB, free: 4.477 MB / 0.545 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.0001867/0.7623, allocations: 111.2 kB / 0.7319 GB, free: 4.355 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008737/0.7632, allocations: 223.7 kB / 0.7321 GB, free: 4.137 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7632, allocations: 192 / 0.7321 GB, free: 4.137 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004557/0.7637, allocations: 131.8 kB / 0.7322 GB, free: 4.008 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.764, allocations: 27.97 kB / 0.7322 GB, free: 3.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007923/0.7648, allocations: 348.8 kB / 0.7326 GB, free: 3.602 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.7652, allocations: 0.716 MB / 0.7333 GB, free: 2.859 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001002/0.7653, allocations: 24.62 kB / 0.7333 GB, free: 2.836 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.161e-05/0.7654, allocations: 15.44 kB / 0.7333 GB, free: 2.82 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.7654, allocations: 0 / 0.7333 GB, free: 2.82 MB / 0.545 GB Notification: Performance of Templates: time 0.005055/0.7705, allocations: 1.888 MB / 0.7352 GB, free: 0.9453 MB / 0.545 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)