Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 108 kB / 15.61 MB, free: 152 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.001111/0.001111, allocations: 192.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.797/1.797, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 69.8 kB / 0.6715 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3022, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.002709/0.3049, allocations: 0.7166 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002202/0.3071, allocations: 1.265 MB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.782e-05/0.3072, allocations: 0 / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.589e-05/0.3073, allocations: 3.938 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.441e-05/0.3074, allocations: 19.84 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.3085, allocations: 308.1 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003887/0.3089, allocations: 271.6 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.309, allocations: 12.19 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.3092, allocations: 107.8 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.3094, allocations: 75.78 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.222e-05/0.3095, allocations: 20 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.3096, allocations: 39.97 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.611e-05/0.3096, allocations: 8 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.3098, allocations: 91.73 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003589/0.3102, allocations: 219.7 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3102, allocations: 0 / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3102, allocations: 0 / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3102, allocations: 0 / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007522/0.311, allocations: 0.4924 MB / 0.7869 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.311, allocations: 8.031 kB / 0.7869 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.374e-05/0.3111, allocations: 16.84 kB / 0.7869 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.3113, allocations: 172.2 kB / 0.7871 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.3114, allocations: 8.375 kB / 0.7871 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.9e-05/0.3114, allocations: 24.36 kB / 0.7871 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.3116, allocations: 54.23 kB / 0.7872 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3116, allocations: 3.938 kB / 0.7872 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.3116, allocations: 0 / 0.7872 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.3116, allocations: 0 / 0.7872 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.381e-05/0.3117, allocations: 23.97 kB / 0.7872 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007297/0.3125, allocations: 420.4 kB / 0.7876 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.381e-05/0.3126, allocations: 38.56 kB / 0.7877 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.791e-05/0.3126, allocations: 16.86 kB / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.3127, allocations: 0 / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002687/0.3129, allocations: 99.38 kB / 0.7878 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.3129, allocations: 0 / 0.7878 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004098/0.3134, allocations: 141.5 kB / 0.7879 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.3134, allocations: 55.41 kB / 0.788 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.3136, allocations: 133.7 kB / 0.7881 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.427e-05/0.3136, allocations: 37.69 kB / 0.7881 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.356e-05/0.3137, allocations: 93.2 kB / 0.7882 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.3138, allocations: 27.72 kB / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.314, allocations: 65.67 kB / 0.7883 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3141, allocations: 326.8 kB / 0.7886 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/0.3145, allocations: 95.88 kB / 0.7887 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/0.3148, allocations: 137.9 kB / 0.7888 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004011/0.3152, allocations: 234.3 kB / 0.7891 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3152, allocations: 4 kB / 0.7891 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000884/0.3161, allocations: 366.5 kB / 0.7894 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.3162, allocations: 105.1 kB / 0.7895 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.3163, allocations: 8.312 kB / 0.7895 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3163, allocations: 4.188 kB / 0.7895 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.851e-05/0.3163, allocations: 4 kB / 0.7895 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.123e-05/0.3163, allocations: 4 kB / 0.7895 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007456/0.3171, allocations: 87.73 kB / 0.7896 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.984e-05/0.3172, allocations: 19.98 kB / 0.7896 GB, free: 6.734 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001679/0.3173, allocations: 141.6 kB / 0.7898 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.3174, allocations: 7.906 kB / 0.7898 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.513e-05/0.3174, allocations: 8.359 kB / 0.7898 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.3174, allocations: 4 kB / 0.7898 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3175, allocations: 0 / 0.7898 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3175, allocations: 0 / 0.7898 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.3177, allocations: 197.5 kB / 0.79 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3177, allocations: 0 / 0.79 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.516e-05/0.3177, allocations: 3.984 kB / 0.79 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3177, allocations: 8 kB / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.3178, allocations: 0 / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3178, allocations: 0 / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3178, allocations: 0 / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.318, allocations: 144.9 kB / 0.7901 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.293e-05/0.3181, allocations: 85.02 kB / 0.7902 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.3182, allocations: 0 / 0.7902 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.464e-05/0.3182, allocations: 0 / 0.7902 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.3183, allocations: 15.98 kB / 0.7902 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.3183, allocations: 4 kB / 0.7902 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.008e-05/0.3184, allocations: 102.8 kB / 0.7903 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3184, allocations: 0 / 0.7903 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004207/0.3188, allocations: 43.98 kB / 0.7904 GB, free: 5.895 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000216/0.319, allocations: 113.9 kB / 0.7905 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006453/0.3197, allocations: 374.3 kB / 0.7908 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3197, allocations: 8 kB / 0.7908 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.345e-05/0.3198, allocations: 39.98 kB / 0.7909 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.3202, allocations: 20.91 kB / 0.7909 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005022/0.3207, allocations: 190.8 kB / 0.7911 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.321, allocations: 0.6963 MB / 0.7918 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.229e-05/0.3211, allocations: 8.438 kB / 0.7918 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.3211, allocations: 15.44 kB / 0.7918 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.3211, allocations: 0 / 0.7918 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of Templates: time 0.006559/0.3277, allocations: 2.622 MB / 0.7943 GB, free: 1.758 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)