Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 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.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_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.001205/0.001205, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001589/0.00159, allocations: 199.8 kB / 16.14 MB, free: 6.793 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.524/1.524, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.939/2.939, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 64.5 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4258/0.4271, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.003976/0.4312, allocations: 1.062 MB / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00299/0.4342, allocations: 1.365 MB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.4344, allocations: 3.938 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.4346, allocations: 15.86 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.4349, allocations: 39.7 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.4362, allocations: 238.5 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006503/0.4369, allocations: 335.3 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002946/0.4372, allocations: 77.41 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004215/0.4376, allocations: 139.5 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005123/0.4382, allocations: 135.5 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.4383, allocations: 19.98 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.4385, allocations: 31.98 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.4386, allocations: 47.78 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002534/0.4389, allocations: 115.4 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00065/0.4396, allocations: 371 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4396, allocations: 0 / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4396, allocations: 0 / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.4396, allocations: 4 kB / 1.071 GB, free: 6.93 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001648/0.4413, allocations: 0.6047 MB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.085e-05/0.4414, allocations: 12.03 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.4416, allocations: 28.66 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.4432, allocations: 374.8 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.741e-05/0.4433, allocations: 12.38 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-05/0.4433, allocations: 24.31 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007966/0.4442, allocations: 203.6 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.4442, allocations: 3.938 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.4442, allocations: 11.98 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.4443, allocations: 4 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008277/0.4451, allocations: 139.8 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/0.4471, allocations: 0.9031 MB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000554/0.4477, allocations: 157 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004393/0.4482, allocations: 76.3 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.4482, allocations: 4 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007391/0.449, allocations: 179.5 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 3.307e-06/0.449, allocations: 0 / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.00166/0.4506, allocations: 257.1 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.4508, allocations: 166.6 kB / 1.074 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003699/0.4512, allocations: 217 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.581e-05/0.4513, allocations: 33.7 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.4515, allocations: 152.1 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.517e-05/0.4516, allocations: 31.55 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.4518, allocations: 57.69 kB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.452, allocations: 334.8 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006017/0.4526, allocations: 103.9 kB / 1.075 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006571/0.4533, allocations: 155.6 kB / 1.075 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.4543, allocations: 278.9 kB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.4544, allocations: 0 / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001497/0.4559, allocations: 372.5 kB / 1.076 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.456, allocations: 63.39 kB / 1.076 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.456, allocations: 4 kB / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.4561, allocations: 0 / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.4563, allocations: 27.97 kB / 1.076 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/0.4564, allocations: 12.09 kB / 1.076 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006775/0.457, allocations: 71.83 kB / 1.076 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-05/0.4571, allocations: 11.98 kB / 1.076 GB, free: 1.461 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.0003169/0.4575, allocations: 151.2 kB / 1.076 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.89e-05/0.4575, allocations: 19.81 kB / 1.076 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.888e-05/0.4576, allocations: 21.23 kB / 1.076 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.4577, allocations: 4 kB / 1.076 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.4577, allocations: 0 / 1.076 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.4577, allocations: 4.469 kB / 1.076 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004775/0.4582, allocations: 265.3 kB / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.4582, allocations: 4 kB / 1.077 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.4584, allocations: 35.91 kB / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.4585, allocations: 0 / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.4585, allocations: 8 kB / 1.077 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.4585, allocations: 0 / 1.077 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.4585, allocations: 4 kB / 1.077 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009377/0.4595, allocations: 236.1 kB / 1.077 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.783e-05/0.4596, allocations: 100.9 kB / 1.077 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/0.4597, allocations: 3.984 kB / 1.077 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.4599, allocations: 15.98 kB / 1.077 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.46, allocations: 19.97 kB / 1.077 GB, free: 484 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.4601, allocations: 8 kB / 1.077 GB, free: 476 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002321/0.4603, allocations: 164.4 kB / 1.077 GB, free: 316 kB / 0.8262 GB Notification: Performance of sort global known variables: time 4.51e-07/0.4603, allocations: 0 / 1.077 GB, free: 316 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005486/0.4609, allocations: 51.84 kB / 1.077 GB, free: 264 kB / 0.8262 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 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002594/0.4612, allocations: 103.2 kB / 1.077 GB, free: 152 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001347/0.4625, allocations: 338.7 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4626, allocations: 0 / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004547/0.463, allocations: 84.38 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006072/0.4636, allocations: 44.34 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.4649, allocations: 457.4 kB / 1.078 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005337/0.4654, allocations: 0.7479 MB / 1.079 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002691/0.4657, allocations: 37.45 kB / 1.079 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.575e-05/0.4658, allocations: 19.44 kB / 1.079 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of SimCode: time 5.11e-07/0.4658, allocations: 0 / 1.079 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of Templates: time 0.01172/0.4776, allocations: 2.751 MB / 1.082 GB, free: 11.63 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)