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.001525/0.001525, allocations: 108.5 kB / 16.37 MB, free: 6.262 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.001628/0.001628, allocations: 193.4 kB / 17.3 MB, free: 5.848 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.665/1.665, allocations: 205.1 MB / 223.2 MB, free: 12.19 MB / 190.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.986/1.986, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001483/0.001484, allocations: 75.03 kB / 0.6729 GB, free: 5.797 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.316, allocations: 114.6 MB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.002333/0.3183, allocations: 0.7205 MB / 0.7855 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.3201, allocations: 1.258 MB / 0.7867 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.613e-05/0.3201, allocations: 0 / 0.7867 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.533e-05/0.3202, allocations: 7.875 kB / 0.7867 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.502e-05/0.3203, allocations: 19.84 kB / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009552/0.3213, allocations: 312.6 kB / 0.7871 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003541/0.3216, allocations: 271.6 kB / 0.7873 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.3217, allocations: 8.188 kB / 0.7873 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.3219, allocations: 111.7 kB / 0.7874 GB, free: 432 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.3221, allocations: 95.67 kB / 0.7875 GB, free: 336 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.308e-05/0.3221, allocations: 24 kB / 0.7876 GB, free: 312 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.151e-05/0.3222, allocations: 35.98 kB / 0.7876 GB, free: 276 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.791e-05/0.3223, allocations: 15.97 kB / 0.7876 GB, free: 260 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.3224, allocations: 83.75 kB / 0.7877 GB, free: 176 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.541/0.8634, allocations: 221.4 kB / 0.7879 GB, free: 47 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.8635, allocations: 0 / 0.7879 GB, free: 47 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8635, allocations: 0 / 0.7879 GB, free: 47 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.8635, allocations: 0 / 0.7879 GB, free: 47 MB / 0.6544 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.0006549/0.8642, allocations: 493.6 kB / 0.7884 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.8642, allocations: 8 kB / 0.7884 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.088e-05/0.8643, allocations: 18.3 kB / 0.7884 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.82e-05/0.8644, allocations: 176 kB / 0.7886 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.8644, allocations: 5.625 kB / 0.7886 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.242e-05/0.8645, allocations: 20.89 kB / 0.7886 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.8646, allocations: 55.3 kB / 0.7886 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.8646, allocations: 0 / 0.7886 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.8646, allocations: 11.62 kB / 0.7886 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.8646, allocations: 0 / 0.7886 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.747e-05/0.8647, allocations: 19.91 kB / 0.7887 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.8653, allocations: 420 kB / 0.7891 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.512e-05/0.8653, allocations: 35.59 kB / 0.7891 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.228e-05/0.8654, allocations: 16.17 kB / 0.7891 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.8654, allocations: 1.938 kB / 0.7891 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002263/0.8656, allocations: 101.3 kB / 0.7892 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 2.445e-06/0.8656, allocations: 5.25 kB / 0.7892 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0002906/0.8659, allocations: 137.4 kB / 0.7893 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.866, allocations: 55.44 kB / 0.7894 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.067e-05/0.8661, allocations: 136.7 kB / 0.7895 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.8661, allocations: 36.33 kB / 0.7896 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.8662, allocations: 103.3 kB / 0.7897 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.8662, allocations: 23.36 kB / 0.7897 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.8663, allocations: 66.34 kB / 0.7897 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.415e-05/0.8664, allocations: 321.3 kB / 0.7901 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.8666, allocations: 89.59 kB / 0.7901 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.8667, allocations: 138.1 kB / 0.7903 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.867, allocations: 237.2 kB / 0.7905 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.867, allocations: 2.688 kB / 0.7905 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005121/0.8675, allocations: 372.8 kB / 0.7909 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.886e-05/0.8676, allocations: 105.7 kB / 0.791 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.8676, allocations: 4.844 kB / 0.791 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.8676, allocations: 0 / 0.791 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.454e-05/0.8676, allocations: 6.188 kB / 0.791 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.8676, allocations: 2.625 kB / 0.791 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/0.8681, allocations: 82.36 kB / 0.791 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.425e-05/0.8682, allocations: 20.47 kB / 0.7911 GB, free: 44.87 MB / 0.6544 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 9.574e-05/0.8683, allocations: 135.8 kB / 0.7912 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.8683, allocations: 9.25 kB / 0.7912 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.882e-05/0.8683, allocations: 9.875 kB / 0.7912 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.8683, allocations: 0.625 kB / 0.7912 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.8684, allocations: 0 / 0.7912 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.8684, allocations: 86.31 kB / 0.7913 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.8684, allocations: 4.5 kB / 0.7913 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.379e-05/0.8684, allocations: 6.672 kB / 0.7913 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.8685, allocations: 11.33 kB / 0.7913 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001575/0.8686, allocations: 190.3 kB / 0.7915 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001644/0.8688, allocations: 287.3 kB / 0.7918 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.47e-05/0.8689, allocations: 36.23 kB / 0.7918 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.822e-05/0.8689, allocations: 100.8 kB / 0.7919 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of Backend: time 1.082e-06/0.8689, allocations: 0 / 0.7919 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000671/0.8696, allocations: 419.2 kB / 0.7923 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0005202/0.8702, allocations: 0.6323 MB / 0.7929 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of Templates: time 0.005455/0.8756, allocations: 2.666 MB / 0.7955 GB, free: 43.29 MB / 0.6544 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)