Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.652/1.652, allocations: 288.4 MB / 304.3 MB, free: 8.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 194.2 kB / 373 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.4 MB / 0.6317 GB, free: 9.887 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007877/0.0007877, allocations: 90.84 kB / 0.7451 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004178/0.0004178, allocations: 16.17 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2488, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7352/0.984, allocations: 138.1 MB / 1.116 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/0.9844, allocations: 69.23 kB / 1.116 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02138/1.006, allocations: 4.079 MB / 1.12 GB, free: 31.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.685e-06/1.006, allocations: 0 / 1.12 GB, free: 31.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.945e-06/1.006, allocations: 4 kB / 1.12 GB, free: 31.92 MB / 0.698 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.0006266/1.006, allocations: 472.5 kB / 1.12 GB, free: 31.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/1.007, allocations: 7.812 kB / 1.12 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.318e-05/1.007, allocations: 16.34 kB / 1.12 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/1.007, allocations: 171.2 kB / 1.12 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.343e-05/1.007, allocations: 11.72 kB / 1.12 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.765e-05/1.007, allocations: 11.97 kB / 1.12 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/1.007, allocations: 57.36 kB / 1.12 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/1.007, allocations: 192 / 1.12 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/1.007, allocations: 10.52 kB / 1.12 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/1.007, allocations: 0 / 1.12 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.322e-05/1.007, allocations: 20.41 kB / 1.12 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007521/1.008, allocations: 419.4 kB / 1.121 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.706e-05/1.008, allocations: 28.61 kB / 1.121 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.196e-05/1.008, allocations: 21.84 kB / 1.121 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/1.008, allocations: 4 kB / 1.121 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002541/1.009, allocations: 101.6 kB / 1.121 GB, free: 30.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 2.344e-06/1.009, allocations: 0 / 1.121 GB, free: 30.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0004535/1.009, allocations: 138.2 kB / 1.121 GB, free: 30.81 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/1.009, allocations: 51.5 kB / 1.121 GB, free: 30.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/1.009, allocations: 142.3 kB / 1.121 GB, free: 30.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.224e-05/1.009, allocations: 36.83 kB / 1.121 GB, free: 30.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/1.01, allocations: 98.75 kB / 1.121 GB, free: 30.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/1.01, allocations: 21.59 kB / 1.121 GB, free: 30.51 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/1.01, allocations: 7.688 kB / 1.121 GB, free: 30.51 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001298/1.01, allocations: 323.9 kB / 1.122 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/1.01, allocations: 89.42 kB / 1.122 GB, free: 30.19 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/1.01, allocations: 140.7 kB / 1.122 GB, free: 30.13 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000417/1.011, allocations: 229 kB / 1.122 GB, free: 29.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.011, allocations: 0 / 1.122 GB, free: 29.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009347/1.012, allocations: 376.1 kB / 1.123 GB, free: 29.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.449e-05/1.012, allocations: 99.83 kB / 1.123 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/1.012, allocations: 3.938 kB / 1.123 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/1.012, allocations: 3.875 kB / 1.123 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.44e-05/1.012, allocations: 3.844 kB / 1.123 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/1.012, allocations: 3.844 kB / 1.123 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000774/1.013, allocations: 114.1 kB / 1.123 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.366e-05/1.013, allocations: 20.02 kB / 1.123 GB, free: 29.73 MB / 0.698 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,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): 10 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0001703/1.013, allocations: 139.7 kB / 1.123 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/1.013, allocations: 7.75 kB / 1.123 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/1.013, allocations: 10.7 kB / 1.123 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/1.013, allocations: 4 kB / 1.123 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/1.013, allocations: 3.844 kB / 1.123 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/1.013, allocations: 0 / 1.123 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/1.013, allocations: 193.9 kB / 1.123 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.014, allocations: 0 / 1.123 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.568e-05/1.014, allocations: 0 / 1.123 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/1.014, allocations: 7.859 kB / 1.123 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/1.014, allocations: 0 / 1.123 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/1.014, allocations: 4 kB / 1.123 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.014, allocations: 2.812 kB / 1.123 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/1.014, allocations: 142.6 kB / 1.123 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/1.014, allocations: 84.73 kB / 1.123 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/1.014, allocations: 0 / 1.123 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.172e-05/1.014, allocations: 9.703 kB / 1.123 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/1.014, allocations: 10.73 kB / 1.123 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/1.014, allocations: 11.28 kB / 1.123 GB, free: 29.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.124e-05/1.014, allocations: 94.55 kB / 1.124 GB, free: 29.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.9e-07/1.014, allocations: 0 / 1.124 GB, free: 29.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004801/1.015, allocations: 53.47 kB / 1.124 GB, free: 29.13 MB / 0.698 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 (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.0002259/1.015, allocations: 116.2 kB / 1.124 GB, free: 29.03 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006948/1.016, allocations: 361.3 kB / 1.124 GB, free: 28.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.016, allocations: 0 / 1.124 GB, free: 28.84 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/1.016, allocations: 42.11 kB / 1.124 GB, free: 28.83 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/1.016, allocations: 29.19 kB / 1.124 GB, free: 28.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/1.017, allocations: 197.6 kB / 1.124 GB, free: 28.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/1.017, allocations: 0.701 MB / 1.125 GB, free: 27.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.032e-05/1.017, allocations: 11.31 kB / 1.125 GB, free: 27.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/1.017, allocations: 15.31 kB / 1.125 GB, free: 27.97 MB / 0.698 GB Notification: Performance of SimCode: time 4.21e-07/1.017, allocations: 0 / 1.125 GB, free: 27.97 MB / 0.698 GB Notification: Performance of Templates: time 0.007744/1.025, allocations: 2.445 MB / 1.127 GB, free: 27.75 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)