Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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.BooleanExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, 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.001489/0.001489, allocations: 194.5 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.841/2.841, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 60 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3236, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002318/0.3259, allocations: 1.032 MB / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.3277, allocations: 1.466 MB / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.368e-05/0.3278, allocations: 7.938 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.3279, allocations: 23.67 kB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.237e-05/0.328, allocations: 39.64 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.3291, allocations: 468.5 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004697/0.3295, allocations: 0.531 MB / 1.072 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000292/0.3298, allocations: 131.9 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.33, allocations: 203.6 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.3302, allocations: 175.3 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.881e-05/0.3303, allocations: 48 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.3305, allocations: 63.98 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.133e-05/0.3306, allocations: 63.83 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.3308, allocations: 191.2 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004724/0.3312, allocations: 0.5027 MB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3313, allocations: 0 / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3313, allocations: 0 / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.3313, allocations: 0 / 1.073 GB, free: 5.469 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008527/0.3321, allocations: 0.6967 MB / 1.074 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.3322, allocations: 16.03 kB / 1.074 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.3323, allocations: 36.56 kB / 1.074 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009639/0.3333, allocations: 364.1 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.3333, allocations: 24.73 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.068e-05/0.3334, allocations: 32.38 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/0.3337, allocations: 233.1 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3338, allocations: 3.938 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.3338, allocations: 12 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.3338, allocations: 4 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000217/0.334, allocations: 143.3 kB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.3352, allocations: 0.7691 MB / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.3354, allocations: 182.4 kB / 1.075 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002634/0.3357, allocations: 208.8 kB / 1.076 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.3357, allocations: 4 kB / 1.076 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002996/0.336, allocations: 249 kB / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.513e-06/0.3361, allocations: 0 / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28): time 0.000661/0.3367, allocations: 432.8 kB / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.3368, allocations: 110.8 kB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.3371, allocations: 278.5 kB / 1.077 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.259e-05/0.3371, allocations: 37.7 kB / 1.077 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.3373, allocations: 156.6 kB / 1.077 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.3373, allocations: 63.28 kB / 1.077 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.3375, allocations: 141.5 kB / 1.077 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3376, allocations: 346.7 kB / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/0.338, allocations: 204.7 kB / 1.078 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.3384, allocations: 311.9 kB / 1.078 GB, free: 176 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005912/0.339, allocations: 0.5272 MB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.339, allocations: 0 / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001053/0.34, allocations: 0.7171 MB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.602e-05/0.3401, allocations: 126.8 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3402, allocations: 0 / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.3402, allocations: 8 kB / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.994e-05/0.3403, allocations: 23.86 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.3403, allocations: 8 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006539/0.341, allocations: 131.9 kB / 1.079 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.734e-05/0.3411, allocations: 75.84 kB / 1.079 GB, free: 14.44 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,con.y,con1.y,extIndBoo.u[4],extIndBoo.u[1],extIndBoo1.u[4],extIndBoo2.u[4],extIndBoo3.u[4],extIndBoo4.u[4],extIndBoo1.u[1],extIndBoo2.u[1],extIndBoo3.u[1],extIndBoo4.u[1],intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,booPul1.y,$PRE.booPul1.y,booPul.y,$PRE.booPul.y,extIndBoo4.y,extIndBoo4.u[3],extIndBoo4.u[2],extIndBoo3.y,extIndBoo3.u[3],extIndBoo3.u[2],extIndBoo2.y,extIndBoo2.u[3],extIndBoo2.u[2],extIndBoo1.y,extIndBoo1.u[3],extIndBoo1.u[2],extIndBoo.u[3],extIndBoo.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.0001993/0.3413, allocations: 193.6 kB / 1.08 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.3413, allocations: 23.72 kB / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005149/0.3418, allocations: 360.5 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3419, allocations: 4 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3419, allocations: 3.938 kB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3419, allocations: 3.984 kB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007906/0.3427, allocations: 0.7206 MB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3427, allocations: 0 / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.619e-05/0.3428, allocations: 19.92 kB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3428, allocations: 0 / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.3428, allocations: 11.98 kB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3428, allocations: 3.938 kB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3428, allocations: 0 / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000421/0.3432, allocations: 415.6 kB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.3433, allocations: 108.7 kB / 1.081 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.3434, allocations: 8 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.3435, allocations: 19.86 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.3435, allocations: 19.97 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.3436, allocations: 8 kB / 1.081 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001537/0.3437, allocations: 194 kB / 1.081 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3437, allocations: 0 / 1.081 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003723/0.3441, allocations: 83.98 kB / 1.082 GB, free: 12.16 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 (extIndBoo.u[2],extIndBoo.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,booPul.y,booPul1.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.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.0001767/0.3443, allocations: 133.4 kB / 1.082 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008489/0.3451, allocations: 0.6886 MB / 1.082 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3452, allocations: 0.8125 kB / 1.082 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.3453, allocations: 139.8 kB / 1.082 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.3458, allocations: 61.88 kB / 1.083 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008015/0.3466, allocations: 0.5205 MB / 1.083 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.3469, allocations: 0.7648 MB / 1.084 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001445/0.3471, allocations: 66.91 kB / 1.084 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.3471, allocations: 39.42 kB / 1.084 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3472, allocations: 4 kB / 1.084 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of Templates: time 0.009126/0.3563, allocations: 4.989 MB / 1.089 GB, free: 4.711 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1)