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.001107/0.001107, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.491/1.491, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.889/2.889, allocations: 472.6 MB / 0.7451 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.00189, allocations: 65.81 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3852, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002633/0.3879, allocations: 1.145 MB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002053/0.39, allocations: 1.517 MB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.3901, allocations: 4 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.3903, allocations: 31.61 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.3904, allocations: 55.5 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.3915, allocations: 480 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006265/0.3922, allocations: 0.6245 MB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000341/0.3925, allocations: 144.5 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002258/0.3927, allocations: 231.4 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.393, allocations: 191.3 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.949e-05/0.3931, allocations: 63.94 kB / 1.073 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.3932, allocations: 71.98 kB / 1.073 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.763e-05/0.3933, allocations: 75.77 kB / 1.073 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002497/0.3936, allocations: 223 kB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006741/0.3943, allocations: 0.6118 MB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.3943, allocations: 3.938 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3943, allocations: 4 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.3943, allocations: 0 / 1.073 GB, free: 4.977 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.001039/0.3954, allocations: 0.7472 MB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.3954, allocations: 8.031 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.3955, allocations: 44.56 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.3966, allocations: 407.9 kB / 1.075 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.788e-05/0.3966, allocations: 28.75 kB / 1.075 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.692e-05/0.3967, allocations: 36.38 kB / 1.075 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003902/0.3971, allocations: 255.7 kB / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3971, allocations: 3.938 kB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.3971, allocations: 11.98 kB / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.3972, allocations: 4 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002405/0.3974, allocations: 157.7 kB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.3987, allocations: 0.8491 MB / 1.076 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.3991, allocations: 218.7 kB / 1.076 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.3993, allocations: 212.7 kB / 1.076 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.3994, allocations: 4 kB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003275/0.3997, allocations: 245 kB / 1.077 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.773e-06/0.3997, allocations: 3.938 kB / 1.077 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28): time 0.0007072/0.4004, allocations: 428.9 kB / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.873e-05/0.4005, allocations: 114.8 kB / 1.077 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.4008, allocations: 328.2 kB / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.063e-05/0.4009, allocations: 41.7 kB / 1.077 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.4011, allocations: 180.5 kB / 1.078 GB, free: 468 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.579e-05/0.4011, allocations: 55.3 kB / 1.078 GB, free: 412 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.4013, allocations: 145.9 kB / 1.078 GB, free: 256 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.4015, allocations: 342.8 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003404/0.4018, allocations: 204.7 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004008/0.4022, allocations: 328.9 kB / 1.079 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005976/0.4028, allocations: 0.5349 MB / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4028, allocations: 0 / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001075/0.4039, allocations: 0.7331 MB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.697e-05/0.404, allocations: 126.8 kB / 1.08 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.404, allocations: 7.984 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.4041, allocations: 8 kB / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.4043, allocations: 55.91 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.4043, allocations: 11.94 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006341/0.4049, allocations: 127.5 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.74e-05/0.405, allocations: 71.86 kB / 1.08 GB, free: 13.55 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.0002098/0.4053, allocations: 193.6 kB / 1.081 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.4053, allocations: 35.61 kB / 1.081 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000527/0.4058, allocations: 361.4 kB / 1.081 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.4059, allocations: 11.92 kB / 1.081 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.056e-06/0.4059, allocations: 3.938 kB / 1.081 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.4059, allocations: 11.98 kB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008579/0.4068, allocations: 0.7441 MB / 1.082 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4068, allocations: 0 / 1.082 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.4069, allocations: 43.86 kB / 1.082 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.4069, allocations: 4 kB / 1.082 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.4069, allocations: 8 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.407, allocations: 4 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.407, allocations: 3.984 kB / 1.082 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.4074, allocations: 423.5 kB / 1.082 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.731e-05/0.4075, allocations: 116.6 kB / 1.082 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.4076, allocations: 4 kB / 1.082 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.4077, allocations: 8 kB / 1.082 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.4077, allocations: 23.97 kB / 1.082 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.4078, allocations: 19.98 kB / 1.082 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001995/0.408, allocations: 211.1 kB / 1.082 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.408, allocations: 0 / 1.082 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004072/0.4084, allocations: 99.84 kB / 1.083 GB, free: 11.14 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.0002255/0.4086, allocations: 125.4 kB / 1.083 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009246/0.4096, allocations: 0.712 MB / 1.083 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4096, allocations: 0 / 1.083 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.4098, allocations: 139.9 kB / 1.084 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005034/0.4103, allocations: 75.2 kB / 1.084 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009322/0.4112, allocations: 0.5889 MB / 1.084 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.4115, allocations: 0.7769 MB / 1.085 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001626/0.4117, allocations: 75.22 kB / 1.085 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.188e-05/0.4118, allocations: 35.44 kB / 1.085 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of SimCode: time 6.01e-07/0.4118, allocations: 0 / 1.085 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of Templates: time 0.01016/0.422, allocations: 5.491 MB / 1.09 GB, free: 3.094 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)