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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 98.44 kB / 16.26 MB, free: 6.418 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.001149/0.001149, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.479/1.479, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.829/1.829, allocations: 292.3 MB / 0.5495 GB, free: 17.41 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.00148/0.00148, allocations: 71.91 kB / 0.6722 GB, free: 6.496 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2805, allocations: 114.6 MB / 0.784 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.003175/0.2837, allocations: 0.8411 MB / 0.7849 GB, free: 2.973 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002044/0.2858, allocations: 1.285 MB / 0.7861 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.582e-05/0.2859, allocations: 4 kB / 0.7861 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.769e-05/0.286, allocations: 11.88 kB / 0.7861 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.799e-05/0.2861, allocations: 23.78 kB / 0.7862 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009577/0.2871, allocations: 312.9 kB / 0.7865 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004178/0.2875, allocations: 307.5 kB / 0.7868 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.2877, allocations: 37.44 kB / 0.7868 GB, free: 1 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.2879, allocations: 115.8 kB / 0.7869 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.2881, allocations: 103.6 kB / 0.787 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.978e-05/0.2882, allocations: 24 kB / 0.787 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.2883, allocations: 39.98 kB / 0.7871 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.179e-05/0.2884, allocations: 23.92 kB / 0.7871 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.2885, allocations: 103.7 kB / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.2888, allocations: 263.5 kB / 0.7874 GB, free: 348 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.2889, allocations: 3.984 kB / 0.7874 GB, free: 344 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2889, allocations: 0 / 0.7874 GB, free: 344 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.2889, allocations: 4 kB / 0.7874 GB, free: 340 kB / 0.6544 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.5839/0.8728, allocations: 0.5161 MB / 0.7879 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.408e-05/0.8729, allocations: 7.875 kB / 0.788 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.873, allocations: 17.97 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.8731, allocations: 186.8 kB / 0.7881 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/0.8732, allocations: 17.69 kB / 0.7882 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.724e-05/0.8732, allocations: 18.81 kB / 0.7882 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.8734, allocations: 94.23 kB / 0.7883 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.8734, allocations: 1.172 kB / 0.7883 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.8735, allocations: 3.5 kB / 0.7883 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.8735, allocations: 0 / 0.7883 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.8736, allocations: 55.91 kB / 0.7883 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006905/0.8743, allocations: 496.6 kB / 0.7888 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.8745, allocations: 74.84 kB / 0.7889 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/0.8746, allocations: 32.52 kB / 0.7889 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.8746, allocations: 4.422 kB / 0.7889 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002789/0.8749, allocations: 111.1 kB / 0.789 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.8749, allocations: 6.281 kB / 0.789 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0003769/0.8753, allocations: 169.5 kB / 0.7892 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.8753, allocations: 54.44 kB / 0.7892 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.8755, allocations: 167.5 kB / 0.7894 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.8755, allocations: 36.08 kB / 0.7894 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.602e-05/0.8756, allocations: 110.6 kB / 0.7895 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.8757, allocations: 28.09 kB / 0.7896 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.8758, allocations: 75.67 kB / 0.7896 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.034e-05/0.8759, allocations: 325 kB / 0.7899 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.8761, allocations: 101.1 kB / 0.79 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.8763, allocations: 145.4 kB / 0.7902 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000259/0.8765, allocations: 247.8 kB / 0.7904 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.8765, allocations: 2.406 kB / 0.7904 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005902/0.8771, allocations: 399.2 kB / 0.7908 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.178e-05/0.8772, allocations: 102.5 kB / 0.7909 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.8772, allocations: 3.125 kB / 0.7909 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.8773, allocations: 9.469 kB / 0.7909 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.447e-05/0.8773, allocations: 12.16 kB / 0.7909 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.8773, allocations: 9.188 kB / 0.7909 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004888/0.8778, allocations: 86.05 kB / 0.791 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.8779, allocations: 18.2 kB / 0.791 GB, free: 47 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: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.878, allocations: 139.8 kB / 0.7912 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.878, allocations: 9.156 kB / 0.7912 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.852e-05/0.8781, allocations: 16.53 kB / 0.7912 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.8781, allocations: 6.656 kB / 0.7912 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.8781, allocations: 0 / 0.7912 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.8781, allocations: 0.5938 kB / 0.7912 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.8783, allocations: 222.5 kB / 0.7914 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.8783, allocations: 0.5312 kB / 0.7914 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.899e-05/0.8783, allocations: 15.56 kB / 0.7914 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.8783, allocations: 0 / 0.7914 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.8783, allocations: 7.562 kB / 0.7914 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.8784, allocations: 1.875 kB / 0.7914 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.8784, allocations: 2.938 kB / 0.7914 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.8786, allocations: 159.9 kB / 0.7916 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-05/0.8786, allocations: 92.61 kB / 0.7917 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.8787, allocations: 9.125 kB / 0.7917 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.129e-05/0.8787, allocations: 7.375 kB / 0.7917 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.8787, allocations: 8.531 kB / 0.7917 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.8788, allocations: 10.34 kB / 0.7917 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.205e-05/0.8788, allocations: 117 kB / 0.7918 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8788, allocations: 0 / 0.7918 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002686/0.8791, allocations: 51.75 kB / 0.7919 GB, free: 46.43 MB / 0.6544 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 () * Number of clocked 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 (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.0001615/0.8793, allocations: 112.9 kB / 0.792 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004551/0.8797, allocations: 392.1 kB / 0.7923 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.8797, allocations: 0 / 0.7923 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.8799, allocations: 57.39 kB / 0.7924 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.8802, allocations: 28.58 kB / 0.7924 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.8806, allocations: 269.7 kB / 0.7927 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.8808, allocations: 0.7086 MB / 0.7934 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.8808, allocations: 17.66 kB / 0.7934 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.8808, allocations: 0 / 0.7934 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of Templates: time 0.004315/0.8851, allocations: 2.269 MB / 0.7956 GB, free: 45.16 MB / 0.6544 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)