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.001473/0.001473, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.726/1.726, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.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.908/1.908, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001814/0.001814, allocations: 77.81 kB / 0.6715 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.282, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.002515/0.2846, allocations: 0.8537 MB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.2863, allocations: 1.278 MB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.267e-05/0.2864, allocations: 4 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.915e-05/0.2865, allocations: 15.81 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.432e-05/0.2866, allocations: 15.8 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000802/0.2874, allocations: 320.8 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003054/0.2877, allocations: 307.5 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.2878, allocations: 41.42 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.288, allocations: 115.8 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.2881, allocations: 95.64 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.996e-05/0.2882, allocations: 24 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.825e-05/0.2883, allocations: 39.98 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.512e-05/0.2883, allocations: 27.91 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.2885, allocations: 95.69 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.2888, allocations: 267.5 kB / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.2888, allocations: 3.938 kB / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2888, allocations: 0 / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.2888, allocations: 0 / 0.7868 GB, free: 10 MB / 0.6075 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.0006523/0.2895, allocations: 0.5235 MB / 0.7873 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.2895, allocations: 12.03 kB / 0.7873 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.667e-05/0.2896, allocations: 20.83 kB / 0.7873 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.2897, allocations: 184.6 kB / 0.7875 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.2898, allocations: 16.36 kB / 0.7875 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.579e-05/0.2898, allocations: 20.38 kB / 0.7875 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.29, allocations: 93.67 kB / 0.7876 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.29, allocations: 0 / 0.7876 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.29, allocations: 4 kB / 0.7876 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.29, allocations: 8 kB / 0.7876 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.2902, allocations: 47.97 kB / 0.7877 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006696/0.2908, allocations: 496.1 kB / 0.7881 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.2911, allocations: 74.61 kB / 0.7882 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.379e-05/0.2911, allocations: 28.91 kB / 0.7882 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.2911, allocations: 4 kB / 0.7882 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/0.2914, allocations: 118.7 kB / 0.7884 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.2914, allocations: 0 / 0.7884 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0003578/0.2918, allocations: 173.4 kB / 0.7885 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.2918, allocations: 59.41 kB / 0.7886 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.292, allocations: 165.4 kB / 0.7887 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.292, allocations: 33.7 kB / 0.7888 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.942e-05/0.2921, allocations: 120 kB / 0.7889 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.2922, allocations: 23.66 kB / 0.7889 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.2923, allocations: 81.59 kB / 0.789 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002017/0.2925, allocations: 322.8 kB / 0.7893 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.2928, allocations: 91.95 kB / 0.7894 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.293, allocations: 148.8 kB / 0.7895 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/0.2933, allocations: 254.2 kB / 0.7898 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2933, allocations: 0 / 0.7898 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000641/0.294, allocations: 406.2 kB / 0.7902 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.4e-05/0.294, allocations: 101.1 kB / 0.7903 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2941, allocations: 0 / 0.7903 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.2941, allocations: 8.125 kB / 0.7903 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.187e-05/0.2942, allocations: 15.98 kB / 0.7903 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.2942, allocations: 7.938 kB / 0.7903 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005166/0.2947, allocations: 87.73 kB / 0.7904 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.2947, allocations: 15.98 kB / 0.7904 GB, free: 5.973 MB / 0.6075 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.0001335/0.2949, allocations: 133.8 kB / 0.7905 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.2949, allocations: 7.906 kB / 0.7905 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.386e-05/0.295, allocations: 20.78 kB / 0.7905 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.295, allocations: 0 / 0.7905 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.295, allocations: 3.984 kB / 0.7905 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.295, allocations: 4 kB / 0.7905 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.2952, allocations: 209.5 kB / 0.7907 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.2952, allocations: 4 kB / 0.7907 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.061e-05/0.2953, allocations: 15.92 kB / 0.7908 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.2953, allocations: 7.938 kB / 0.7908 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.2953, allocations: 15.88 kB / 0.7908 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2953, allocations: 0 / 0.7908 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2953, allocations: 0 / 0.7908 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.2956, allocations: 157 kB / 0.7909 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.927e-05/0.2957, allocations: 92.86 kB / 0.791 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.2957, allocations: 7.938 kB / 0.791 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.455e-05/0.2957, allocations: 7.984 kB / 0.791 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/0.2958, allocations: 15.97 kB / 0.7911 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.2958, allocations: 8 kB / 0.7911 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.046e-05/0.2959, allocations: 113 kB / 0.7912 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.115e-05/0.2959, allocations: 0 / 0.7912 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002838/0.2962, allocations: 51.94 kB / 0.7912 GB, free: 5.016 MB / 0.6075 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.0001791/0.2964, allocations: 111.2 kB / 0.7913 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005271/0.2969, allocations: 398.2 kB / 0.7917 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2969, allocations: 0 / 0.7917 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.708e-05/0.297, allocations: 47.98 kB / 0.7917 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.2973, allocations: 27.97 kB / 0.7918 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004837/0.2978, allocations: 247 kB / 0.792 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.2981, allocations: 0.7123 MB / 0.7927 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.151e-05/0.2981, allocations: 8.656 kB / 0.7927 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.2982, allocations: 19.42 kB / 0.7927 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2982, allocations: 0 / 0.7927 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of Templates: time 0.005761/0.3039, allocations: 2.793 MB / 0.7955 GB, free: 0.6094 MB / 0.6075 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)