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.001019/0.001019, allocations: 98.19 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.006519/0.006519, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.499/1.499, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.028/3.028, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003864/0.0003864, allocations: 13.89 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3726, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001098/0.3737, allocations: 0.5812 MB / 1.075 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001879/0.3756, allocations: 1.322 MB / 1.076 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.749e-05/0.3757, allocations: 3.938 kB / 1.076 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.3759, allocations: 11.88 kB / 1.076 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.228e-05/0.376, allocations: 23.84 kB / 1.076 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000757/0.3767, allocations: 242.6 kB / 1.076 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000322/0.3771, allocations: 279.5 kB / 1.077 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.3773, allocations: 61.44 kB / 1.077 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.3775, allocations: 107.7 kB / 1.077 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000284/0.3778, allocations: 107.6 kB / 1.077 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.307e-05/0.3778, allocations: 12 kB / 1.077 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.078e-05/0.3779, allocations: 19.98 kB / 1.077 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.023e-05/0.378, allocations: 39.84 kB / 1.077 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.3781, allocations: 117.2 kB / 1.077 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003337/0.3785, allocations: 319.1 kB / 1.077 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3785, allocations: 3.938 kB / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.654e-06/0.3785, allocations: 0 / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.3785, allocations: 0 / 1.077 GB, free: 4.297 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.0006575/0.3792, allocations: 498.2 kB / 1.078 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3792, allocations: 12.03 kB / 1.078 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.949e-05/0.3793, allocations: 24.66 kB / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007768/0.3801, allocations: 298 kB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/0.3802, allocations: 12.38 kB / 1.078 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.579e-05/0.3802, allocations: 24.31 kB / 1.078 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.3805, allocations: 150.9 kB / 1.078 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3805, allocations: 7.938 kB / 1.078 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.3805, allocations: 8 kB / 1.078 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.3806, allocations: 4 kB / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.3807, allocations: 63.84 kB / 1.078 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000897/0.3816, allocations: 0.7507 MB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.3817, allocations: 61.17 kB / 1.079 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.876e-05/0.3818, allocations: 21.78 kB / 1.079 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.3818, allocations: 11.98 kB / 1.079 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.382, allocations: 97.03 kB / 1.079 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.452e-06/0.382, allocations: 0 / 1.079 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0003264/0.3823, allocations: 129.5 kB / 1.079 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.3824, allocations: 81.11 kB / 1.079 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.3826, allocations: 223.5 kB / 1.08 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.3827, allocations: 29.7 kB / 1.08 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.3828, allocations: 143.8 kB / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.3828, allocations: 15.81 kB / 1.08 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.954e-05/0.3829, allocations: 33.7 kB / 1.08 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.383, allocations: 326.8 kB / 1.08 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.3832, allocations: 63.95 kB / 1.08 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.3834, allocations: 118.8 kB / 1.08 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.3836, allocations: 202.1 kB / 1.081 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.3836, allocations: 7.984 kB / 1.081 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004636/0.3841, allocations: 292.6 kB / 1.081 GB, free: 292 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.372e-05/0.3842, allocations: 67.39 kB / 1.081 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.3842, allocations: 0 / 1.081 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.3842, allocations: 4.188 kB / 1.081 GB, free: 208 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.509e-05/0.3843, allocations: 12 kB / 1.081 GB, free: 196 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3843, allocations: 0 / 1.081 GB, free: 196 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.3847, allocations: 83.81 kB / 1.081 GB, free: 112 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.3847, allocations: 15.92 kB / 1.081 GB, free: 96 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.0001591/0.3849, allocations: 145.8 kB / 1.081 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.3849, allocations: 15.81 kB / 1.081 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.041e-05/0.385, allocations: 16.92 kB / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.385, allocations: 4 kB / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.385, allocations: 4 kB / 1.081 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.385, allocations: 0 / 1.081 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.3852, allocations: 237.5 kB / 1.081 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3852, allocations: 0 / 1.081 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.56e-05/0.3852, allocations: 4 kB / 1.081 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.3852, allocations: 0 / 1.081 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.3852, allocations: 7.984 kB / 1.081 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3853, allocations: 3.938 kB / 1.081 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3853, allocations: 0 / 1.081 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.3854, allocations: 141.7 kB / 1.082 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.3855, allocations: 88.92 kB / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.3855, allocations: 4 kB / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.209e-05/0.3856, allocations: 4 kB / 1.082 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.3856, allocations: 7.984 kB / 1.082 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.3856, allocations: 0 / 1.082 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001217/0.3857, allocations: 149.5 kB / 1.082 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3857, allocations: 0 / 1.082 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000268/0.386, allocations: 47.84 kB / 1.082 GB, free: 15.13 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.0001763/0.3862, allocations: 109.7 kB / 1.082 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003828/0.3866, allocations: 250.7 kB / 1.082 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3866, allocations: 4 kB / 1.082 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.082e-05/0.3867, allocations: 31.92 kB / 1.082 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.387, allocations: 44.06 kB / 1.082 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006147/0.3876, allocations: 346.4 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.3879, allocations: 0.7322 MB / 1.083 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.454e-05/0.388, allocations: 21.53 kB / 1.083 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.388, allocations: 19.38 kB / 1.083 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.388, allocations: 0 / 1.083 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of Templates: time 0.006011/0.3941, allocations: 2.284 MB / 1.086 GB, free: 11.25 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)