Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.IntegerExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001378/0.001378, allocations: 194.3 kB / 16.25 MB, free: 6.629 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.479/1.479, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.832/2.832, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 61.8 kB / 0.9115 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4309/0.4329, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.003402/0.4364, allocations: 0.9278 MB / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002519/0.4389, allocations: 1.295 MB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.177e-05/0.4391, allocations: 4 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.4393, allocations: 7.875 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.4394, allocations: 19.86 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.4405, allocations: 250.1 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005278/0.4411, allocations: 343.4 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.4413, allocations: 53.47 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002529/0.4416, allocations: 139.7 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003612/0.4419, allocations: 127.6 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.686e-05/0.442, allocations: 28 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.4422, allocations: 39.98 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.562e-05/0.4423, allocations: 47.83 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.4424, allocations: 111.5 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004887/0.4429, allocations: 331.2 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.443, allocations: 7.938 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.124e-06/0.443, allocations: 4 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.034e-06/0.443, allocations: 0 / 1.071 GB, free: 7.074 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0009242/0.4439, allocations: 0.5409 MB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.444, allocations: 12.03 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.4441, allocations: 20.75 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009164/0.445, allocations: 294 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.4451, allocations: 12.38 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-05/0.4452, allocations: 28.31 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003602/0.4455, allocations: 146.2 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.4456, allocations: 7.922 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.4456, allocations: 4 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.4456, allocations: 11.92 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.4458, allocations: 63.91 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.447, allocations: 0.7545 MB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.4471, allocations: 65.23 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.854e-05/0.4472, allocations: 17.72 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.4472, allocations: 4 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002346/0.4474, allocations: 105 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.774e-06/0.4475, allocations: 0 / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.000414/0.4479, allocations: 129.4 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.448, allocations: 81.05 kB / 1.074 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.4483, allocations: 219.6 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.418e-05/0.4483, allocations: 33.7 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.4485, allocations: 139.8 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.4485, allocations: 15.8 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.4487, allocations: 57.69 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.4489, allocations: 330.8 kB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.4491, allocations: 63.97 kB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.4494, allocations: 118.8 kB / 1.074 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.4498, allocations: 202.1 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.4498, allocations: 0 / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007498/0.4506, allocations: 292.6 kB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.433e-05/0.4507, allocations: 71.39 kB / 1.075 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.4507, allocations: 0 / 1.075 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.4507, allocations: 4 kB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.273e-05/0.4508, allocations: 11.98 kB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.4508, allocations: 4 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000504/0.4514, allocations: 67.91 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.4514, allocations: 12 kB / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.000222/0.4516, allocations: 151.5 kB / 1.075 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.4517, allocations: 15.81 kB / 1.075 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.384e-05/0.4517, allocations: 16.94 kB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.4518, allocations: 0 / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/0.4518, allocations: 7.938 kB / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.4518, allocations: 3.984 kB / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.4521, allocations: 229.5 kB / 1.076 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.4521, allocations: 3.984 kB / 1.076 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.562e-05/0.4521, allocations: 4 kB / 1.076 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4522, allocations: 0 / 1.076 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.4522, allocations: 4 kB / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.4522, allocations: 3.938 kB / 1.076 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4522, allocations: 0 / 1.076 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.4525, allocations: 138.2 kB / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.643e-05/0.4526, allocations: 92.91 kB / 1.076 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.4526, allocations: 0 / 1.076 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.236e-05/0.4527, allocations: 0 / 1.076 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.4527, allocations: 11.97 kB / 1.076 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.4527, allocations: 8 kB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001653/0.4529, allocations: 145.5 kB / 1.076 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.9e-07/0.4529, allocations: 0 / 1.076 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004792/0.4534, allocations: 47.84 kB / 1.076 GB, free: 1.855 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.000231/0.4537, allocations: 113.4 kB / 1.076 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005824/0.4543, allocations: 258.6 kB / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.4543, allocations: 4 kB / 1.076 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.193e-05/0.4544, allocations: 32.3 kB / 1.076 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.4549, allocations: 43.69 kB / 1.076 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007978/0.4557, allocations: 340.8 kB / 1.077 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.4561, allocations: 0.728 MB / 1.077 GB, free: 268 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.4562, allocations: 21.53 kB / 1.077 GB, free: 248 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.4563, allocations: 15.44 kB / 1.077 GB, free: 232 kB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.4563, allocations: 0 / 1.077 GB, free: 232 kB / 0.8262 GB Notification: Performance of Templates: time 0.008476/0.4648, allocations: 2.374 MB / 1.08 GB, free: 13.89 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1)