Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.311/1.311, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 180.2 kB / 327.6 MB, free: 2.176 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.4 MB / 0.5785 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009525/0.0009525, allocations: 90.41 kB / 0.6831 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003359, allocations: 16.31 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1698, allocations: 106.3 MB / 0.9012 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1518/0.3216, allocations: 131.5 MB / 1.03 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.3219, allocations: 75.94 kB / 1.03 GB, free: 12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003216/0.3252, allocations: 1.166 MB / 1.031 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.509e-06/0.3252, allocations: 0 / 1.031 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.3252, allocations: 7.938 kB / 1.031 GB, free: 10.83 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005123/0.3257, allocations: 399.2 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3258, allocations: 8.031 kB / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.3258, allocations: 8.844 kB / 1.031 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.326, allocations: 176.3 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.326, allocations: 4.375 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.326, allocations: 8.375 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.3261, allocations: 66.11 kB / 1.032 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.3262, allocations: 4.188 kB / 1.032 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.3262, allocations: 3.938 kB / 1.032 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.3262, allocations: 0 / 1.032 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.262e-05/0.3263, allocations: 35.98 kB / 1.032 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/0.3267, allocations: 308.7 kB / 1.032 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.844e-05/0.3268, allocations: 54.59 kB / 1.032 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.054e-05/0.3269, allocations: 24.86 kB / 1.032 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.3269, allocations: 0 / 1.032 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.3271, allocations: 83.36 kB / 1.032 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.3271, allocations: 0 / 1.032 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0002455/0.3273, allocations: 113.5 kB / 1.032 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.3274, allocations: 59.34 kB / 1.032 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.409e-05/0.3275, allocations: 133.8 kB / 1.032 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.3275, allocations: 29.7 kB / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.354e-05/0.3276, allocations: 84.14 kB / 1.032 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.3276, allocations: 27.84 kB / 1.032 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.3276, allocations: 4 kB / 1.032 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.3277, allocations: 322.8 kB / 1.033 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.766e-05/0.3278, allocations: 19.98 kB / 1.033 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.876e-05/0.3278, allocations: 54.3 kB / 1.033 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.282e-05/0.3279, allocations: 67.69 kB / 1.033 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3279, allocations: 0 / 1.033 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001538/0.3281, allocations: 105.4 kB / 1.033 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.3281, allocations: 8 kB / 1.033 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3281, allocations: 4.094 kB / 1.033 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3282, allocations: 4 kB / 1.033 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.346e-05/0.3282, allocations: 4 kB / 1.033 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.3282, allocations: 0 / 1.033 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.3284, allocations: 27.97 kB / 1.033 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.3284, allocations: 7.938 kB / 1.033 GB, free: 8.371 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,logicalSwitch.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): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.324e-05/0.3285, allocations: 129.8 kB / 1.033 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.3285, allocations: 3.906 kB / 1.033 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.985e-05/0.3285, allocations: 16.38 kB / 1.033 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3285, allocations: 0 / 1.033 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3285, allocations: 0 / 1.033 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3285, allocations: 3.984 kB / 1.033 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.3287, allocations: 185.6 kB / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3287, allocations: 3.984 kB / 1.033 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.087e-05/0.3287, allocations: 4 kB / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3287, allocations: 0 / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.3288, allocations: 4 kB / 1.033 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3288, allocations: 0 / 1.033 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3288, allocations: 4 kB / 1.033 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.3289, allocations: 124.9 kB / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.435e-05/0.329, allocations: 81.02 kB / 1.034 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.329, allocations: 4 kB / 1.034 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.3291, allocations: 27.97 kB / 1.034 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.3292, allocations: 15.92 kB / 1.034 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.3292, allocations: 4.172 kB / 1.034 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.282e-05/0.3292, allocations: 103.6 kB / 1.034 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3293, allocations: 3.938 kB / 1.034 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001944/0.3295, allocations: 20 kB / 1.034 GB, free: 7.551 MB / 0.6823 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 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001203/0.3296, allocations: 100.3 kB / 1.034 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001332/0.3297, allocations: 63.92 kB / 1.034 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3297, allocations: 0 / 1.034 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.164e-05/0.3298, allocations: 39.86 kB / 1.034 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.33, allocations: 27.91 kB / 1.034 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.3304, allocations: 204.8 kB / 1.034 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.3307, allocations: 0.6965 MB / 1.035 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.127e-05/0.3307, allocations: 4.562 kB / 1.035 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.3308, allocations: 11.44 kB / 1.035 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of SimCode: time 2.11e-07/0.3308, allocations: 8 kB / 1.035 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of Templates: time 0.00293/0.3337, allocations: 1.051 MB / 1.036 GB, free: 5.297 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)