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.0007896/0.0007896, allocations: 97.64 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.005144/0.005144, allocations: 170.1 kB / 16.27 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.502/1.502, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.17/3.17, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004294/0.0004294, allocations: 10.34 kB / 0.9158 GB, free: 33.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3612, 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.IntegerExtractSignal): time 0.001122/0.3623, allocations: 0.5851 MB / 1.075 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00185/0.3642, allocations: 1.311 MB / 1.076 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.239e-05/0.3643, allocations: 3.938 kB / 1.076 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.3644, allocations: 11.86 kB / 1.076 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.011e-05/0.3645, allocations: 27.78 kB / 1.076 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007089/0.3652, allocations: 237.8 kB / 1.076 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003292/0.3655, allocations: 283.5 kB / 1.077 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.3657, allocations: 61.44 kB / 1.077 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.3659, allocations: 103.7 kB / 1.077 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/0.3661, allocations: 107.6 kB / 1.077 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.3662, allocations: 8 kB / 1.077 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.98e-05/0.3663, allocations: 27.92 kB / 1.077 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.412e-05/0.3663, allocations: 31.86 kB / 1.077 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.3665, allocations: 121.2 kB / 1.077 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.3668, allocations: 307.2 kB / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.3668, allocations: 7.984 kB / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3668, allocations: 3.938 kB / 1.077 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3668, allocations: 0 / 1.077 GB, free: 4.316 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.0006156/0.3674, allocations: 498.2 kB / 1.078 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3675, allocations: 12.03 kB / 1.078 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.049e-05/0.3675, allocations: 28.66 kB / 1.078 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007066/0.3683, allocations: 305.9 kB / 1.078 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.3683, allocations: 16.36 kB / 1.078 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.638e-05/0.3684, allocations: 16.38 kB / 1.078 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.3686, allocations: 151.5 kB / 1.078 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3687, allocations: 3.938 kB / 1.078 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.3687, allocations: 4 kB / 1.078 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.3687, allocations: 4 kB / 1.078 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.3688, allocations: 71.89 kB / 1.078 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008729/0.3697, allocations: 0.7546 MB / 1.079 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.3698, allocations: 61.09 kB / 1.079 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.922e-05/0.3699, allocations: 21.77 kB / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.3699, allocations: 4 kB / 1.079 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.3701, allocations: 101.1 kB / 1.079 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.3701, allocations: 0 / 1.079 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0003033/0.3704, allocations: 129.5 kB / 1.079 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.3705, allocations: 77.11 kB / 1.079 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.3708, allocations: 223.5 kB / 1.08 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.3708, allocations: 37.7 kB / 1.08 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.3709, allocations: 143.8 kB / 1.08 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.371, allocations: 11.81 kB / 1.08 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/0.371, allocations: 33.7 kB / 1.08 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.3712, allocations: 330.8 kB / 1.08 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.3714, allocations: 63.97 kB / 1.08 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.3716, allocations: 121.2 kB / 1.08 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.3719, allocations: 202.1 kB / 1.081 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3719, allocations: 0 / 1.081 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004928/0.3724, allocations: 288.7 kB / 1.081 GB, free: 312 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.066e-05/0.3725, allocations: 68.81 kB / 1.081 GB, free: 232 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.954e-06/0.3725, allocations: 3.938 kB / 1.081 GB, free: 228 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3725, allocations: 4 kB / 1.081 GB, free: 224 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.898e-05/0.3726, allocations: 11.98 kB / 1.081 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.3726, allocations: 192 / 1.081 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004278/0.3731, allocations: 79.88 kB / 1.081 GB, free: 132 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.3731, allocations: 20 kB / 1.081 GB, free: 112 kB / 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.0001727/0.3733, allocations: 149.7 kB / 1.081 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/0.3733, allocations: 19.75 kB / 1.081 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/0.3734, allocations: 12.94 kB / 1.081 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3734, allocations: 4 kB / 1.081 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3734, allocations: 0 / 1.081 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3734, allocations: 3.984 kB / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.3736, allocations: 237.5 kB / 1.081 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3736, allocations: 3.938 kB / 1.081 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.587e-05/0.3737, allocations: 8 kB / 1.081 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3737, allocations: 4 kB / 1.081 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.3737, allocations: 0 / 1.081 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3737, allocations: 0 / 1.081 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3737, allocations: 0 / 1.081 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.3739, allocations: 137.7 kB / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.374, allocations: 96.91 kB / 1.082 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.374, allocations: 4 kB / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.866e-05/0.3741, allocations: 0 / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.3741, allocations: 7.984 kB / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/0.3741, allocations: 8 kB / 1.082 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001164/0.3742, allocations: 137.5 kB / 1.082 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3742, allocations: 0 / 1.082 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002564/0.3745, allocations: 47.84 kB / 1.082 GB, free: 15.15 MB / 0.8419 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.0001839/0.3747, allocations: 108.2 kB / 1.082 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003722/0.3751, allocations: 262.6 kB / 1.082 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3751, allocations: 0 / 1.082 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.443e-05/0.3752, allocations: 23.98 kB / 1.082 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.3755, allocations: 44.06 kB / 1.082 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005321/0.376, allocations: 350.3 kB / 1.083 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.3763, allocations: 0.7283 MB / 1.083 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.417e-05/0.3764, allocations: 21.55 kB / 1.083 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.3764, allocations: 19.42 kB / 1.083 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3764, allocations: 3.938 kB / 1.083 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of Templates: time 0.005729/0.3822, allocations: 2.289 MB / 1.086 GB, free: 11.26 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)