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.0008358/0.0008358, allocations: 90.52 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.005921/0.005921, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.471/1.471, 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 2.99/2.99, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.000349, allocations: 11 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3719, allocations: 162.2 MB / 1.074 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.001643/0.3736, allocations: 0.7369 MB / 1.075 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002543/0.3762, allocations: 1.506 MB / 1.076 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.3764, allocations: 3.938 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.3766, allocations: 15.86 kB / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.3767, allocations: 31.72 kB / 1.076 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.3781, allocations: 434.5 kB / 1.077 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006592/0.3788, allocations: 455.8 kB / 1.077 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003813/0.3791, allocations: 127.5 kB / 1.077 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004143/0.3796, allocations: 163.5 kB / 1.078 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003015/0.3799, allocations: 139.4 kB / 1.078 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.38, allocations: 16 kB / 1.078 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.3802, allocations: 31.98 kB / 1.078 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.501e-05/0.3803, allocations: 39.86 kB / 1.078 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002501/0.3805, allocations: 188.9 kB / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005607/0.3811, allocations: 478.7 kB / 1.078 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3811, allocations: 0 / 1.078 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.235e-06/0.3811, allocations: 0 / 1.078 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.3811, allocations: 0 / 1.078 GB, free: 3.168 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.00101/0.3822, allocations: 0.611 MB / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.3822, allocations: 12.03 kB / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.3824, allocations: 36.59 kB / 1.079 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.3835, allocations: 380 kB / 1.079 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.3836, allocations: 20.75 kB / 1.079 GB, free: 2 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.969e-05/0.3837, allocations: 36.38 kB / 1.079 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004045/0.3841, allocations: 229.1 kB / 1.08 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.3841, allocations: 7.922 kB / 1.08 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.3841, allocations: 8 kB / 1.08 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.3841, allocations: 4 kB / 1.08 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.3844, allocations: 143.2 kB / 1.08 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.3857, allocations: 0.7731 MB / 1.081 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.3859, allocations: 178.5 kB / 1.081 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002731/0.3862, allocations: 212.8 kB / 1.081 GB, free: 364 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.3863, allocations: 4 kB / 1.081 GB, free: 360 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000346/0.3866, allocations: 247.8 kB / 1.081 GB, free: 88 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.593e-06/0.3866, allocations: 3.938 kB / 1.081 GB, free: 84 kB / 0.8262 GB Notification: Performance of matching and sorting (n=28): time 0.0007097/0.3873, allocations: 415.1 kB / 1.082 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.3874, allocations: 110.8 kB / 1.082 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/0.3877, allocations: 282.4 kB / 1.082 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.183e-05/0.3878, allocations: 41.7 kB / 1.082 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.388, allocations: 164.7 kB / 1.082 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.415e-05/0.388, allocations: 63.19 kB / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.3881, allocations: 65.69 kB / 1.082 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.3883, allocations: 346.7 kB / 1.083 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.3887, allocations: 192.3 kB / 1.083 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004569/0.3891, allocations: 331 kB / 1.083 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007505/0.3899, allocations: 0.5232 MB / 1.084 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.3899, allocations: 0 / 1.084 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001243/0.3911, allocations: 0.713 MB / 1.084 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.685e-05/0.3912, allocations: 127.2 kB / 1.084 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.3913, allocations: 4 kB / 1.084 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.3913, allocations: 8 kB / 1.084 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.3914, allocations: 23.92 kB / 1.084 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.3914, allocations: 8 kB / 1.084 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007491/0.3922, allocations: 171.5 kB / 1.085 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.3923, allocations: 67.86 kB / 1.085 GB, free: 12.25 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.0002621/0.3926, allocations: 193.6 kB / 1.085 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.3926, allocations: 27.72 kB / 1.085 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00057/0.3932, allocations: 361 kB / 1.085 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3932, allocations: 0 / 1.085 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.3932, allocations: 0 / 1.085 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.3932, allocations: 11.88 kB / 1.085 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009068/0.3942, allocations: 0.7129 MB / 1.086 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3942, allocations: 0 / 1.086 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.242e-05/0.3942, allocations: 19.92 kB / 1.086 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.3943, allocations: 4 kB / 1.086 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.3943, allocations: 8 kB / 1.086 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.17e-05/0.3943, allocations: 7.922 kB / 1.086 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3943, allocations: 4 kB / 1.086 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004837/0.3948, allocations: 411 kB / 1.086 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.418e-05/0.3949, allocations: 104.7 kB / 1.086 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.3949, allocations: 7.938 kB / 1.086 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.3951, allocations: 15.92 kB / 1.087 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/0.3951, allocations: 27.97 kB / 1.087 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.3952, allocations: 12 kB / 1.087 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002036/0.3954, allocations: 189.9 kB / 1.087 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.61e-07/0.3954, allocations: 0 / 1.087 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000416/0.3958, allocations: 88 kB / 1.087 GB, free: 9.969 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.0002226/0.396, allocations: 130.2 kB / 1.087 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000916/0.397, allocations: 0.6536 MB / 1.088 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.397, allocations: 0 / 1.088 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.3972, allocations: 143.8 kB / 1.088 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004958/0.3977, allocations: 70.67 kB / 1.088 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000964/0.3987, allocations: 0.5798 MB / 1.088 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.399, allocations: 0.7612 MB / 1.089 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001706/0.3992, allocations: 70.91 kB / 1.089 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.3993, allocations: 43.36 kB / 1.089 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of SimCode: time 4.4e-07/0.3993, allocations: 0 / 1.089 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of Templates: time 0.0106/0.4099, allocations: 4.743 MB / 1.094 GB, free: 2.738 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)