Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001126/0.001126, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001186/0.001186, allocations: 190.8 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.47/1.47, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.975/2.975, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 70.08 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3726, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002242/0.3748, allocations: 0.9327 MB / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001677/0.3765, allocations: 1.295 MB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.542e-05/0.3766, allocations: 0 / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.3768, allocations: 19.86 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.794e-05/0.3769, allocations: 15.86 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007384/0.3776, allocations: 239.1 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003601/0.378, allocations: 343.4 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.3782, allocations: 61.45 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.3783, allocations: 135.6 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003044/0.3787, allocations: 119.6 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.681e-05/0.3787, allocations: 28 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.203e-05/0.3788, allocations: 47.97 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.368e-05/0.3789, allocations: 47.84 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.379, allocations: 111.5 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003303/0.3794, allocations: 331.2 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3794, allocations: 0 / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3794, allocations: 0 / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3794, allocations: 0 / 1.071 GB, free: 7.07 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.0007353/0.3801, allocations: 0.5488 MB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3802, allocations: 8.031 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.62e-05/0.3803, allocations: 24.75 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006455/0.3809, allocations: 293.9 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.3809, allocations: 16.31 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.089e-05/0.381, allocations: 20.38 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.3812, allocations: 155.5 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3813, allocations: 3.938 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.3813, allocations: 11.94 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.3813, allocations: 3.938 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.3814, allocations: 63.91 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008025/0.3822, allocations: 0.7507 MB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.867e-05/0.3823, allocations: 65.08 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.044e-05/0.3824, allocations: 25.77 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.3824, allocations: 0 / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.3826, allocations: 105 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.3826, allocations: 0 / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0002981/0.3829, allocations: 125.4 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.383, allocations: 85.09 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.3832, allocations: 215.6 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.3833, allocations: 29.7 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.3834, allocations: 143.8 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.3834, allocations: 11.81 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.3835, allocations: 69.67 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.3836, allocations: 326.8 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.3838, allocations: 59.97 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.384, allocations: 118.8 kB / 1.074 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.3842, allocations: 202.1 kB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.3842, allocations: 4 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004955/0.3847, allocations: 300.6 kB / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.221e-05/0.3848, allocations: 59.41 kB / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3848, allocations: 7.984 kB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3848, allocations: 0 / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.764e-05/0.3849, allocations: 8 kB / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.3849, allocations: 7.938 kB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/0.3853, allocations: 63.97 kB / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.3853, allocations: 15.98 kB / 1.075 GB, free: 2.805 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.0001586/0.3855, allocations: 145.8 kB / 1.075 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.3855, allocations: 11.81 kB / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.968e-05/0.3855, allocations: 20.92 kB / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3855, allocations: 0 / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3856, allocations: 3.938 kB / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3856, allocations: 0 / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.3858, allocations: 237.5 kB / 1.076 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3858, allocations: 3.938 kB / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.532e-05/0.3858, allocations: 7.938 kB / 1.076 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3858, allocations: 4 kB / 1.076 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.3859, allocations: 0 / 1.076 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-06/0.3859, allocations: 0 / 1.076 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.3859, allocations: 4 kB / 1.076 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.3861, allocations: 141.7 kB / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.657e-05/0.3861, allocations: 89.39 kB / 1.076 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.3862, allocations: 4 kB / 1.076 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.354e-05/0.3862, allocations: 4 kB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.3862, allocations: 7.984 kB / 1.076 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.864e-06/0.3863, allocations: 7.938 kB / 1.076 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001224/0.3864, allocations: 145.5 kB / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3864, allocations: 0 / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002786/0.3867, allocations: 43.84 kB / 1.076 GB, free: 1.844 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.00017/0.3869, allocations: 116.2 kB / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003806/0.3872, allocations: 262.6 kB / 1.076 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3873, allocations: 0 / 1.076 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.645e-05/0.3873, allocations: 27.98 kB / 1.076 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.3876, allocations: 53.09 kB / 1.076 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005646/0.3882, allocations: 348.8 kB / 1.077 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.3886, allocations: 0.7241 MB / 1.077 GB, free: 244 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.489e-05/0.3886, allocations: 25.55 kB / 1.077 GB, free: 220 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.3887, allocations: 15.44 kB / 1.077 GB, free: 204 kB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.3887, allocations: 0 / 1.077 GB, free: 204 kB / 0.8262 GB Notification: Performance of Templates: time 0.005648/0.3943, allocations: 2.365 MB / 1.08 GB, free: 13.87 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1)