Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.00103/0.00103, 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.006573/0.006573, allocations: 170.1 kB / 16.27 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.472/1.472, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.07/3.07, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003717, allocations: 10.59 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3508, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001454/0.3523, allocations: 0.842 MB / 1.075 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.3544, allocations: 1.572 MB / 1.076 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.675e-05/0.3545, allocations: 0 / 1.076 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.3546, allocations: 19.8 kB / 1.077 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.3547, allocations: 51.62 kB / 1.077 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009991/0.3557, allocations: 456.6 kB / 1.077 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004877/0.3562, allocations: 0.5152 MB / 1.078 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002747/0.3565, allocations: 136.4 kB / 1.078 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.3567, allocations: 163.5 kB / 1.078 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.3569, allocations: 167.2 kB / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.585e-05/0.357, allocations: 20 kB / 1.078 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.621e-05/0.3571, allocations: 31.98 kB / 1.078 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.198e-05/0.3572, allocations: 51.72 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.3574, allocations: 200.8 kB / 1.078 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006205/0.358, allocations: 0.5726 MB / 1.079 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.358, allocations: 0 / 1.079 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3581, allocations: 4 kB / 1.079 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.3581, allocations: 0 / 1.079 GB, free: 2.742 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.0008755/0.3589, allocations: 0.642 MB / 1.079 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.359, allocations: 16.03 kB / 1.079 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.3591, allocations: 48.5 kB / 1.079 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.3602, allocations: 413.3 kB / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.877e-05/0.3603, allocations: 28.81 kB / 1.08 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.385e-05/0.3604, allocations: 36.38 kB / 1.08 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00042/0.3608, allocations: 247.8 kB / 1.08 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3608, allocations: 3.938 kB / 1.08 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.3609, allocations: 12 kB / 1.08 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.3609, allocations: 11.92 kB / 1.08 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002587/0.3611, allocations: 161.7 kB / 1.08 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.3624, allocations: 0.849 MB / 1.081 GB, free: 128 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003169/0.3628, allocations: 218.7 kB / 1.081 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.363, allocations: 208.7 kB / 1.082 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.363, allocations: 4 kB / 1.082 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003381/0.3634, allocations: 255.7 kB / 1.082 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=28): time 2.344e-06/0.3634, allocations: 0 / 1.082 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of matching and sorting (n=28): time 0.0006878/0.3641, allocations: 427 kB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.3642, allocations: 114.8 kB / 1.082 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.3645, allocations: 324.2 kB / 1.083 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.096e-05/0.3646, allocations: 41.7 kB / 1.083 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.3647, allocations: 180.5 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.965e-05/0.3648, allocations: 59.28 kB / 1.083 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.916e-05/0.3649, allocations: 69.69 kB / 1.083 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.365, allocations: 342.8 kB / 1.083 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003934/0.3654, allocations: 212.6 kB / 1.084 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005026/0.3659, allocations: 328.9 kB / 1.084 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006478/0.3666, allocations: 0.5272 MB / 1.084 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3666, allocations: 0 / 1.084 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001059/0.3677, allocations: 0.7363 MB / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.354e-05/0.3678, allocations: 123.2 kB / 1.085 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3678, allocations: 8 kB / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.3678, allocations: 7.984 kB / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.368, allocations: 55.92 kB / 1.085 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/0.3681, allocations: 15.86 kB / 1.085 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007322/0.3688, allocations: 167.5 kB / 1.085 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.3689, allocations: 67.92 kB / 1.086 GB, free: 11.43 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.000351/0.3693, allocations: 185.7 kB / 1.086 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.3693, allocations: 35.62 kB / 1.086 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005903/0.3699, allocations: 366 kB / 1.086 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.3699, allocations: 4 kB / 1.086 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.37, allocations: 3.938 kB / 1.086 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.37, allocations: 4 kB / 1.086 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009147/0.3709, allocations: 0.7518 MB / 1.087 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.3709, allocations: 3.984 kB / 1.087 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.371, allocations: 47.78 kB / 1.087 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.371, allocations: 0 / 1.087 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.3711, allocations: 12 kB / 1.087 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3711, allocations: 4 kB / 1.087 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3711, allocations: 0 / 1.087 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004771/0.3716, allocations: 427 kB / 1.087 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.407e-05/0.3717, allocations: 112.5 kB / 1.087 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.969e-05/0.3717, allocations: 11.98 kB / 1.087 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.3718, allocations: 8 kB / 1.087 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.3719, allocations: 27.91 kB / 1.087 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.3719, allocations: 15.98 kB / 1.087 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002156/0.3721, allocations: 215.1 kB / 1.088 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3722, allocations: 0 / 1.088 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003981/0.3726, allocations: 87.94 kB / 1.088 GB, free: 9.031 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.0001957/0.3728, allocations: 126.2 kB / 1.088 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009381/0.3737, allocations: 0.6808 MB / 1.089 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3737, allocations: 0 / 1.089 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.3739, allocations: 147.8 kB / 1.089 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005226/0.3745, allocations: 83.34 kB / 1.089 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009212/0.3754, allocations: 0.6524 MB / 1.089 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.3758, allocations: 0.7771 MB / 1.09 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000176/0.376, allocations: 75.22 kB / 1.09 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.594e-05/0.3761, allocations: 31.44 kB / 1.09 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of SimCode: time 3.5e-07/0.3761, allocations: 0 / 1.09 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of Templates: time 0.01073/0.3868, allocations: 5.232 MB / 1.095 GB, free: 1.195 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1)