Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.IntegerExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009461/0.0009461, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008886/0.008886, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.562/1.562, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.006/3.006, allocations: 473.4 MB / 0.7469 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005144/0.0005144, allocations: 13.44 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4236, allocations: 162.2 MB / 1.074 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001589/0.4253, allocations: 0.8498 MB / 1.075 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002054/0.4274, allocations: 1.564 MB / 1.077 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.85e-05/0.4275, allocations: 0 / 1.077 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.4276, allocations: 19.8 kB / 1.077 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.4277, allocations: 43.64 kB / 1.077 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.4287, allocations: 450.7 kB / 1.077 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005195/0.4293, allocations: 0.5152 MB / 1.077 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003021/0.4296, allocations: 140.4 kB / 1.078 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.4298, allocations: 179.4 kB / 1.078 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.43, allocations: 147.4 kB / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.635e-05/0.4301, allocations: 23.94 kB / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.4302, allocations: 35.98 kB / 1.078 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.347e-05/0.4303, allocations: 47.77 kB / 1.078 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.4305, allocations: 208.7 kB / 1.078 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005067/0.431, allocations: 0.5687 MB / 1.079 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.431, allocations: 8 kB / 1.079 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.623e-06/0.431, allocations: 0 / 1.079 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.503e-06/0.431, allocations: 0 / 1.079 GB, free: 2.797 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007638/0.4318, allocations: 0.642 MB / 1.079 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.4318, allocations: 19.95 kB / 1.079 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.432, allocations: 44.56 kB / 1.079 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.433, allocations: 405.2 kB / 1.08 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.799e-05/0.4331, allocations: 24.81 kB / 1.08 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-05/0.4331, allocations: 40.36 kB / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000451/0.4336, allocations: 255.7 kB / 1.08 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.4336, allocations: 3.938 kB / 1.08 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.4337, allocations: 11.94 kB / 1.08 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.4337, allocations: 8 kB / 1.08 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002564/0.4339, allocations: 161.7 kB / 1.08 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.4352, allocations: 0.8452 MB / 1.081 GB, free: 192 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.4356, allocations: 226.8 kB / 1.081 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/0.4358, allocations: 200.7 kB / 1.082 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.4359, allocations: 8 kB / 1.082 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003432/0.4362, allocations: 243.8 kB / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=28): time 1.423e-06/0.4362, allocations: 0 / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=28): time 0.000705/0.4369, allocations: 427 kB / 1.082 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.568e-05/0.437, allocations: 122.7 kB / 1.082 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003503/0.4374, allocations: 324.3 kB / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.957e-05/0.4375, allocations: 37.7 kB / 1.083 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.4376, allocations: 184.4 kB / 1.083 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.745e-05/0.4377, allocations: 55.28 kB / 1.083 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.4378, allocations: 73.67 kB / 1.083 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.4379, allocations: 346.8 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003802/0.4383, allocations: 200.7 kB / 1.084 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004455/0.4388, allocations: 328.9 kB / 1.084 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006614/0.4394, allocations: 0.5311 MB / 1.084 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4395, allocations: 0 / 1.084 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001108/0.4406, allocations: 0.7326 MB / 1.085 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.4407, allocations: 126.8 kB / 1.085 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.4407, allocations: 7.938 kB / 1.085 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.4407, allocations: 4 kB / 1.085 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.4409, allocations: 63.84 kB / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.441, allocations: 7.938 kB / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007559/0.4417, allocations: 171.8 kB / 1.085 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.4418, allocations: 75.84 kB / 1.086 GB, free: 11.48 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt1.u[4],extIndInt2.u[4],extIndInt3.u[4],extIndInt4.u[4],extIndInt1.u[1],extIndInt2.u[1],extIndInt3.u[1],extIndInt4.u[1],intPul3.booPul.y,$PRE.intPul3.booPul.y,intPul3.y,intPul2.booPul.y,$PRE.intPul2.booPul.y,intPul2.y,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul.booPul.y,$PRE.intPul.booPul.y,extIndInt4.y,extIndInt4.u[3],extIndInt4.u[2],extIndInt3.y,extIndInt3.u[3],extIndInt3.u[2],extIndInt2.y,extIndInt2.u[3],extIndInt2.u[2],extIndInt1.y,extIndInt1.u[3],extIndInt1.u[2],extIndInt.u[3],extIndInt.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0002287/0.4421, allocations: 193.7 kB / 1.086 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/0.4421, allocations: 27.62 kB / 1.086 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005647/0.4427, allocations: 362.1 kB / 1.086 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.4427, allocations: 7.938 kB / 1.086 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.4427, allocations: 7.938 kB / 1.086 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.4428, allocations: 3.984 kB / 1.086 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009013/0.4437, allocations: 0.7557 MB / 1.087 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4437, allocations: 0 / 1.087 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.4438, allocations: 39.92 kB / 1.087 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4438, allocations: 0 / 1.087 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.4438, allocations: 4 kB / 1.087 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.4438, allocations: 7.922 kB / 1.087 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.4439, allocations: 4 kB / 1.087 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004816/0.4443, allocations: 419 kB / 1.087 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.744e-05/0.4444, allocations: 124.5 kB / 1.087 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.4445, allocations: 4 kB / 1.087 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.4446, allocations: 11.98 kB / 1.087 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.4447, allocations: 23.97 kB / 1.087 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.4447, allocations: 12 kB / 1.087 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001943/0.4449, allocations: 211.1 kB / 1.088 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4449, allocations: 0 / 1.088 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003962/0.4453, allocations: 99.92 kB / 1.088 GB, free: 9.094 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001903/0.4455, allocations: 126.2 kB / 1.088 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008404/0.4463, allocations: 0.673 MB / 1.089 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.4464, allocations: 0 / 1.089 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.4465, allocations: 148.6 kB / 1.089 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005431/0.4471, allocations: 84.3 kB / 1.089 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009931/0.4481, allocations: 0.6541 MB / 1.089 GB, free: 7.328 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.4485, allocations: 0.7771 MB / 1.09 GB, free: 6.523 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001663/0.4487, allocations: 75.22 kB / 1.09 GB, free: 6.449 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.592e-05/0.4487, allocations: 39.42 kB / 1.09 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of SimCode: time 3.9e-07/0.4487, allocations: 3.938 kB / 1.09 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of Templates: time 0.009428/0.4582, allocations: 5.225 MB / 1.095 GB, free: 1.258 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1)