Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001156/0.001156, 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.001136/0.001136, allocations: 190.8 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.913/2.913, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 66.33 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3768, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002633/0.3795, allocations: 1.024 MB / 1.069 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002412/0.382, allocations: 1.47 MB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.3821, allocations: 4 kB / 1.071 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.3824, allocations: 23.67 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.3825, allocations: 43.58 kB / 1.071 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.3838, allocations: 465.5 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005356/0.3843, allocations: 0.5271 MB / 1.072 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000314/0.3847, allocations: 136 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.3849, allocations: 199.6 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002577/0.3851, allocations: 171.4 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.613e-05/0.3852, allocations: 48 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.3854, allocations: 67.98 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.627e-05/0.3855, allocations: 67.77 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.3857, allocations: 191.2 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005809/0.3863, allocations: 0.5027 MB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3863, allocations: 0 / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3863, allocations: 0 / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.3863, allocations: 3.938 kB / 1.073 GB, free: 5.484 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.0009602/0.3873, allocations: 0.6928 MB / 1.074 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.3874, allocations: 12.03 kB / 1.074 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.3875, allocations: 40.56 kB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.3885, allocations: 360.1 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.3886, allocations: 24.73 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.046e-05/0.3887, allocations: 32.38 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003765/0.389, allocations: 233 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.3891, allocations: 3.938 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/0.3891, allocations: 16 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.3891, allocations: 4 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.3893, allocations: 143.3 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.3906, allocations: 0.773 MB / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.3909, allocations: 186.5 kB / 1.075 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.3912, allocations: 202.3 kB / 1.076 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.3912, allocations: 4 kB / 1.076 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003253/0.3915, allocations: 257 kB / 1.076 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.883e-06/0.3915, allocations: 0 / 1.076 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28): time 0.0006832/0.3922, allocations: 424.9 kB / 1.076 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.193e-05/0.3923, allocations: 110.8 kB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.3926, allocations: 286.5 kB / 1.077 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/0.3927, allocations: 37.7 kB / 1.077 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.3928, allocations: 152.6 kB / 1.077 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.3929, allocations: 63.28 kB / 1.077 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.3931, allocations: 145.5 kB / 1.077 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3933, allocations: 342.7 kB / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/0.3936, allocations: 200.7 kB / 1.078 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004321/0.3941, allocations: 316 kB / 1.078 GB, free: 192 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006253/0.3947, allocations: 0.5272 MB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3947, allocations: 0 / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001096/0.3958, allocations: 0.7212 MB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.457e-05/0.3959, allocations: 126.8 kB / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.3959, allocations: 4 kB / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.3959, allocations: 4 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.3961, allocations: 19.92 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-05/0.3961, allocations: 11.94 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007106/0.3968, allocations: 131.7 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.3969, allocations: 63.92 kB / 1.079 GB, free: 14.46 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.0002686/0.3972, allocations: 197.6 kB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.81e-05/0.3973, allocations: 23.72 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005847/0.3979, allocations: 356.5 kB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.3979, allocations: 8 kB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3979, allocations: 3.938 kB / 1.08 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.3979, allocations: 0 / 1.08 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008511/0.3988, allocations: 0.7206 MB / 1.081 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3988, allocations: 4 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.577e-05/0.3989, allocations: 19.92 kB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3989, allocations: 0 / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.3989, allocations: 8 kB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.3989, allocations: 7.922 kB / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3989, allocations: 0 / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004724/0.3994, allocations: 415.5 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-05/0.3995, allocations: 112.7 kB / 1.081 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.3995, allocations: 4 kB / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.3997, allocations: 19.92 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.3997, allocations: 23.97 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.3998, allocations: 8 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001817/0.3999, allocations: 190 kB / 1.081 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3999, allocations: 0 / 1.081 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003994/0.4003, allocations: 83.98 kB / 1.082 GB, free: 12.18 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.0002233/0.4006, allocations: 133.4 kB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009483/0.4015, allocations: 0.6848 MB / 1.082 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4015, allocations: 3.938 kB / 1.082 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.4018, allocations: 135.9 kB / 1.082 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000496/0.4023, allocations: 73.2 kB / 1.083 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009046/0.4032, allocations: 0.5244 MB / 1.083 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.4035, allocations: 0.7609 MB / 1.084 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001514/0.4037, allocations: 62.92 kB / 1.084 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.239e-05/0.4038, allocations: 35.42 kB / 1.084 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of SimCode: time 2.224e-06/0.4038, allocations: 0 / 1.084 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of Templates: time 0.009498/0.4133, allocations: 4.989 MB / 1.089 GB, free: 4.734 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1)