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.889/1.889, allocations: 292.3 MB / 308.1 MB, free: 4.309 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.001566/0.001566, allocations: 196.1 kB / 376.9 MB, free: 1.828 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.976/1.976, allocations: 205.1 MB / 0.6354 GB, free: 9.828 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.001491/0.001491, allocations: 100.8 kB / 0.7479 GB, free: 61.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 55.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.287, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.002888/0.2899, allocations: 0.9031 MB / 0.9831 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001725/0.2917, allocations: 1.32 MB / 0.9844 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.833e-05/0.2918, allocations: 4 kB / 0.9844 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.064e-05/0.2918, allocations: 3.938 kB / 0.9844 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.2919, allocations: 11.86 kB / 0.9844 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.2931, allocations: 307.5 kB / 0.9847 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003326/0.2934, allocations: 255.5 kB / 0.985 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.2936, allocations: 45.36 kB / 0.985 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.2938, allocations: 107.7 kB / 0.9851 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.2939, allocations: 79.7 kB / 0.9852 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.545e-05/0.294, allocations: 16 kB / 0.9852 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.2941, allocations: 31.98 kB / 0.9852 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.651e-05/0.2942, allocations: 23.91 kB / 0.9853 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.2943, allocations: 95.62 kB / 0.9853 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003694/0.2947, allocations: 251.5 kB / 0.9856 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.2947, allocations: 4 kB / 0.9856 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.522e-06/0.2947, allocations: 3.938 kB / 0.9856 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.2948, allocations: 4 kB / 0.9856 GB, free: 6.934 MB / 0.7136 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.0008438/0.2956, allocations: 0.5274 MB / 0.9861 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.2957, allocations: 8.031 kB / 0.9861 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.2958, allocations: 20.75 kB / 0.9861 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.296, allocations: 187.3 kB / 0.9863 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/0.296, allocations: 16.33 kB / 0.9863 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.131e-05/0.2961, allocations: 16.38 kB / 0.9863 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.2963, allocations: 89.78 kB / 0.9864 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.2963, allocations: 0 / 0.9864 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.2964, allocations: 15.86 kB / 0.9864 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.2964, allocations: 4 kB / 0.9865 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.2965, allocations: 43.98 kB / 0.9865 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009277/0.2975, allocations: 0.4884 MB / 0.987 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.2978, allocations: 66.56 kB / 0.987 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.222e-05/0.2979, allocations: 36.97 kB / 0.9871 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.2979, allocations: 0 / 0.9871 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003343/0.2983, allocations: 111.2 kB / 0.9872 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 2.404e-06/0.2983, allocations: 0 / 0.9872 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0004557/0.2987, allocations: 169.5 kB / 0.9873 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.2988, allocations: 67.39 kB / 0.9874 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.299, allocations: 158.2 kB / 0.9876 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.115e-05/0.2991, allocations: 33.7 kB / 0.9876 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.2992, allocations: 108 kB / 0.9877 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.2992, allocations: 27.64 kB / 0.9877 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.2994, allocations: 73.67 kB / 0.9878 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.2996, allocations: 322.8 kB / 0.9881 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.2999, allocations: 99.88 kB / 0.9882 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.3002, allocations: 155.7 kB / 0.9883 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004188/0.3006, allocations: 251 kB / 0.9886 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3007, allocations: 0 / 0.9886 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008649/0.3015, allocations: 402.2 kB / 0.989 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-05/0.3016, allocations: 101.1 kB / 0.9891 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3016, allocations: 3.984 kB / 0.9891 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.3017, allocations: 12.12 kB / 0.9891 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.554e-05/0.3018, allocations: 8 kB / 0.9891 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.3018, allocations: 4 kB / 0.9891 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006862/0.3025, allocations: 91.67 kB / 0.9892 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.582e-05/0.3025, allocations: 19.92 kB / 0.9892 GB, free: 2.914 MB / 0.7136 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.0001529/0.3027, allocations: 137.8 kB / 0.9893 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.3027, allocations: 11.81 kB / 0.9893 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.238e-05/0.3028, allocations: 20.77 kB / 0.9894 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.3028, allocations: 3.984 kB / 0.9894 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3028, allocations: 0 / 0.9894 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3028, allocations: 4 kB / 0.9894 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.3031, allocations: 217.6 kB / 0.9896 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3031, allocations: 0 / 0.9896 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.386e-05/0.3032, allocations: 15.92 kB / 0.9896 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.3032, allocations: 8 kB / 0.9896 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.3032, allocations: 3.938 kB / 0.9896 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3032, allocations: 0 / 0.9896 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3033, allocations: 0 / 0.9896 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007055/0.304, allocations: 0.761 MB / 0.9903 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.725e-05/0.304, allocations: 92.86 kB / 0.9904 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.3041, allocations: 7.984 kB / 0.9904 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.545e-05/0.3041, allocations: 4 kB / 0.9904 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.3042, allocations: 7.984 kB / 0.9904 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.3042, allocations: 12 kB / 0.9905 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001038/0.3043, allocations: 116.1 kB / 0.9906 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3043, allocations: 0 / 0.9906 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005819/0.3049, allocations: 48 kB / 0.9906 GB, free: 1.316 MB / 0.7136 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.0002203/0.3052, allocations: 107.2 kB / 0.9907 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006925/0.3059, allocations: 393.9 kB / 0.9911 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.3059, allocations: 0 / 0.9911 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.306, allocations: 51.92 kB / 0.9911 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.3064, allocations: 37.14 kB / 0.9912 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007259/0.3072, allocations: 408.5 kB / 0.9916 GB, free: 268 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.3076, allocations: 0.7165 MB / 0.9923 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.338e-05/0.3077, allocations: 12.64 kB / 0.9923 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.813e-05/0.3077, allocations: 15.44 kB / 0.9923 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of SimCode: time 2.9e-07/0.3077, allocations: 0 / 0.9923 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of Templates: time 0.008408/0.3161, allocations: 2.763 MB / 0.995 GB, free: 12.75 MB / 0.7292 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)