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.001538/0.001538, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002017/0.002017, allocations: 193 kB / 16.13 MB, free: 6.664 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.486/1.486, allocations: 222.9 MB / 239.8 MB, free: 4.566 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.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 69.05 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3882, 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.IntegerExtractSignal): time 0.002554/0.3908, allocations: 0.9201 MB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002151/0.3929, allocations: 1.33 MB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.3931, allocations: 4 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.3933, allocations: 11.86 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.3934, allocations: 27.78 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008727/0.3943, allocations: 242.6 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003919/0.3947, allocations: 279.5 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.3949, allocations: 61.44 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000257/0.3952, allocations: 111.7 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003561/0.3955, allocations: 119.6 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.935e-05/0.3956, allocations: 12 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.3958, allocations: 35.86 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.554e-05/0.3958, allocations: 39.84 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.396, allocations: 95.5 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003985/0.3964, allocations: 319.3 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3965, allocations: 0 / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3965, allocations: 0 / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.3965, allocations: 0 / 1.071 GB, free: 7.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.0008652/0.3973, allocations: 0.5449 MB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.3974, allocations: 8.031 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.9e-05/0.3975, allocations: 24.75 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007506/0.3983, allocations: 293.9 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.3983, allocations: 12.38 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.722e-05/0.3983, allocations: 24.36 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.3986, allocations: 150.8 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3986, allocations: 3.938 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.3987, allocations: 8 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.3987, allocations: 7.938 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.3988, allocations: 67.89 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009046/0.3998, allocations: 0.7507 MB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.3999, allocations: 65.08 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.917e-05/0.3999, allocations: 29.75 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.4, allocations: 0 / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.4002, allocations: 105.1 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.4002, allocations: 0 / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0003744/0.4006, allocations: 125.4 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.4006, allocations: 77.11 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.4009, allocations: 211.6 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.4009, allocations: 33.7 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.401, allocations: 143.8 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.4011, allocations: 15.73 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.4012, allocations: 69.67 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.4014, allocations: 326.8 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.4015, allocations: 67.95 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.4017, allocations: 110.8 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.402, allocations: 202.1 kB / 1.074 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.402, allocations: 0 / 1.074 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005076/0.4025, allocations: 296.8 kB / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.654e-05/0.4026, allocations: 67.39 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4026, allocations: 4 kB / 1.075 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.4026, allocations: 4 kB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.304e-05/0.4027, allocations: 15.88 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.4027, allocations: 0 / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/0.4031, allocations: 59.91 kB / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.4031, allocations: 19.98 kB / 1.075 GB, free: 3.055 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.0001547/0.4033, allocations: 152.5 kB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.4033, allocations: 11.81 kB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.985e-05/0.4034, allocations: 20.92 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.4034, allocations: 0 / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4034, allocations: 3.938 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4034, allocations: 0 / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.4036, allocations: 241.5 kB / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.4036, allocations: 4 kB / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.53e-05/0.4037, allocations: 4 kB / 1.075 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.4037, allocations: 0 / 1.075 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.4037, allocations: 0 / 1.075 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.4037, allocations: 7.984 kB / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4037, allocations: 0 / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.4039, allocations: 137.6 kB / 1.075 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.404, allocations: 96.92 kB / 1.075 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.404, allocations: 0 / 1.075 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.035e-05/0.404, allocations: 0 / 1.075 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.4041, allocations: 11.98 kB / 1.075 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.4041, allocations: 8 kB / 1.075 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001304/0.4042, allocations: 141.5 kB / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.51e-07/0.4042, allocations: 0 / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002763/0.4045, allocations: 47.83 kB / 1.076 GB, free: 2.09 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.0001875/0.4047, allocations: 111.8 kB / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004107/0.4051, allocations: 259.1 kB / 1.076 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4051, allocations: 0 / 1.076 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.264e-05/0.4052, allocations: 31.98 kB / 1.076 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.4055, allocations: 44.44 kB / 1.076 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006129/0.4061, allocations: 350.8 kB / 1.076 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.4065, allocations: 0.7205 MB / 1.077 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.826e-05/0.4066, allocations: 21.55 kB / 1.077 GB, free: 492 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.4066, allocations: 19.42 kB / 1.077 GB, free: 472 kB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.4066, allocations: 4 kB / 1.077 GB, free: 468 kB / 0.8262 GB Notification: Performance of Templates: time 0.005926/0.4125, allocations: 2.282 MB / 1.079 GB, free: 14.21 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)