Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.729/1.729, allocations: 289.7 MB / 302.3 MB, free: 2.164 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.001064/0.001064, allocations: 184.1 kB / 371.6 MB, free: 3.414 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.619/1.619, allocations: 205.2 MB / 0.6309 GB, free: 11.74 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001054/0.001055, allocations: 87.61 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.504e-05/4.507e-05, allocations: 4 kB / 0.8663 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3074, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9425/1.25, allocations: 139.4 MB / 1.116 GB, free: 44.39 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/1.25, allocations: 70.88 kB / 1.116 GB, free: 44.36 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0116/1.262, allocations: 4.486 MB / 1.12 GB, free: 41.83 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.743e-06/1.262, allocations: 0 / 1.12 GB, free: 41.83 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.667e-06/1.262, allocations: 4.562 kB / 1.12 GB, free: 41.82 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004235/1.262, allocations: 488.4 kB / 1.121 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/1.262, allocations: 11.97 kB / 1.121 GB, free: 41.31 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.402e-05/1.262, allocations: 17.62 kB / 1.121 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/1.263, allocations: 171.5 kB / 1.121 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.484e-05/1.263, allocations: 14.83 kB / 1.121 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.626e-05/1.263, allocations: 25.42 kB / 1.121 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/1.263, allocations: 83.23 kB / 1.121 GB, free: 41 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/1.263, allocations: 0 / 1.121 GB, free: 41 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/1.263, allocations: 3.516 kB / 1.121 GB, free: 41 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/1.263, allocations: 11.89 kB / 1.121 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.156e-05/1.263, allocations: 46.25 kB / 1.121 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005963/1.264, allocations: 498.7 kB / 1.122 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/1.264, allocations: 68.84 kB / 1.122 GB, free: 40.53 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.781e-05/1.264, allocations: 32.36 kB / 1.122 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/1.264, allocations: 0 / 1.122 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/1.264, allocations: 106 kB / 1.122 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.994e-06/1.264, allocations: 1.078 kB / 1.122 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.00028/1.264, allocations: 139.3 kB / 1.122 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/1.264, allocations: 60.2 kB / 1.122 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/1.265, allocations: 160.3 kB / 1.122 GB, free: 40.11 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/1.265, allocations: 36.2 kB / 1.122 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.227e-05/1.265, allocations: 110.8 kB / 1.122 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/1.265, allocations: 23.28 kB / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/1.265, allocations: 7.75 kB / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.544e-05/1.265, allocations: 327.8 kB / 1.123 GB, free: 39.63 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/1.265, allocations: 87.95 kB / 1.123 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/1.265, allocations: 148.2 kB / 1.123 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/1.265, allocations: 166.4 kB / 1.123 GB, free: 39.31 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.265, allocations: 4 kB / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000532/1.266, allocations: 393.2 kB / 1.123 GB, free: 39 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.703e-05/1.266, allocations: 99.67 kB / 1.124 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/1.266, allocations: 4.688 kB / 1.124 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/1.266, allocations: 0 / 1.124 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.959e-05/1.266, allocations: 19.2 kB / 1.124 GB, free: 38.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/1.266, allocations: 0 / 1.124 GB, free: 38.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004508/1.267, allocations: 116.1 kB / 1.124 GB, free: 38.78 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/1.267, allocations: 22.77 kB / 1.124 GB, free: 38.77 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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 9.318e-05/1.267, allocations: 132.6 kB / 1.124 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/1.267, allocations: 12.44 kB / 1.124 GB, free: 38.63 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.158e-05/1.267, allocations: 12.06 kB / 1.124 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/1.267, allocations: 4 kB / 1.124 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/1.267, allocations: 0 / 1.124 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/1.267, allocations: 4.031 kB / 1.124 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/1.267, allocations: 221.3 kB / 1.124 GB, free: 38.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.267, allocations: 0.75 kB / 1.124 GB, free: 38.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/1.267, allocations: 8 kB / 1.124 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/1.267, allocations: 0 / 1.124 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/1.267, allocations: 11.02 kB / 1.124 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/1.267, allocations: 0.5625 kB / 1.124 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/1.267, allocations: 3.938 kB / 1.124 GB, free: 38.38 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/1.267, allocations: 165.6 kB / 1.124 GB, free: 38.24 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/1.267, allocations: 88.53 kB / 1.124 GB, free: 38.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/1.267, allocations: 4.984 kB / 1.124 GB, free: 38.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.19e-05/1.267, allocations: 3.875 kB / 1.124 GB, free: 38.13 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/1.267, allocations: 10.58 kB / 1.124 GB, free: 38.13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/1.267, allocations: 7.375 kB / 1.124 GB, free: 38.12 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.867e-05/1.268, allocations: 112.1 kB / 1.124 GB, free: 38.03 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.268, allocations: 0 / 1.124 GB, free: 38.03 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002513/1.268, allocations: 58.38 kB / 1.125 GB, free: 37.98 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0001716/1.268, allocations: 123.4 kB / 1.125 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004031/1.268, allocations: 376.2 kB / 1.125 GB, free: 37.54 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.268, allocations: 0 / 1.125 GB, free: 37.54 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.793e-05/1.268, allocations: 53.19 kB / 1.125 GB, free: 37.5 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/1.269, allocations: 32.41 kB / 1.125 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/1.269, allocations: 154.3 kB / 1.125 GB, free: 37.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/1.269, allocations: 0.7096 MB / 1.126 GB, free: 36.62 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.888e-05/1.269, allocations: 21.19 kB / 1.126 GB, free: 36.6 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/1.269, allocations: 11.44 kB / 1.126 GB, free: 36.59 MB / 0.7448 GB Notification: Performance of SimCode: time 2.31e-07/1.269, allocations: 0 / 1.126 GB, free: 36.59 MB / 0.7448 GB Notification: Performance of Templates: time 0.004918/1.274, allocations: 2.544 MB / 1.128 GB, free: 35.21 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1)