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.001554/0.001554, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001746/0.001746, allocations: 194.3 kB / 16.25 MB, free: 6.625 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.629/1.629, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.855/1.855, allocations: 292.2 MB / 0.5485 GB, free: 13.68 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.001461/0.001461, allocations: 66.27 kB / 0.671 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2866, allocations: 114.5 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.002873/0.2896, allocations: 0.903 MB / 0.7838 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.2912, allocations: 1.285 MB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.166e-05/0.2913, allocations: 4 kB / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.065e-05/0.2914, allocations: 7.922 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.661e-05/0.2915, allocations: 11.86 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007951/0.2923, allocations: 305.2 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002935/0.2926, allocations: 299.5 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.2927, allocations: 37.44 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.2929, allocations: 115.8 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.293, allocations: 95.64 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.556e-05/0.2931, allocations: 24 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.2932, allocations: 47.91 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.634e-05/0.2932, allocations: 23.92 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.2934, allocations: 103.7 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.2937, allocations: 259.5 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.2937, allocations: 4 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2937, allocations: 0 / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.2937, allocations: 0 / 0.7863 GB, free: 10.39 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.0007366/0.2944, allocations: 0.5196 MB / 0.7868 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.2945, allocations: 12.03 kB / 0.7868 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.448e-05/0.2946, allocations: 20.78 kB / 0.7868 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.2947, allocations: 185.4 kB / 0.787 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.2948, allocations: 20.36 kB / 0.787 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.2948, allocations: 24.31 kB / 0.787 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.295, allocations: 96.66 kB / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.295, allocations: 0 / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.2951, allocations: 0 / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.2951, allocations: 7.984 kB / 0.7871 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.2952, allocations: 47.97 kB / 0.7872 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007096/0.2959, allocations: 496.2 kB / 0.7877 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.2961, allocations: 66.61 kB / 0.7877 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.859e-05/0.2962, allocations: 40.83 kB / 0.7878 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.2962, allocations: 4 kB / 0.7878 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.2965, allocations: 107.3 kB / 0.7879 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.482e-06/0.2965, allocations: 0 / 0.7879 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0003338/0.2968, allocations: 176.6 kB / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.2969, allocations: 63.39 kB / 0.7881 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.297, allocations: 165 kB / 0.7883 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/0.297, allocations: 29.7 kB / 0.7883 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.153e-05/0.2971, allocations: 116 kB / 0.7884 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.2972, allocations: 27.64 kB / 0.7884 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.2973, allocations: 85.66 kB / 0.7885 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2974, allocations: 322.8 kB / 0.7888 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.2976, allocations: 91.95 kB / 0.7889 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.2978, allocations: 151 kB / 0.789 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.2981, allocations: 251 kB / 0.7893 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2981, allocations: 0 / 0.7893 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005688/0.2987, allocations: 405.2 kB / 0.7897 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.663e-05/0.2988, allocations: 101.1 kB / 0.7898 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2988, allocations: 0 / 0.7898 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.2988, allocations: 7.938 kB / 0.7898 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.702e-05/0.2989, allocations: 15.92 kB / 0.7898 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.2989, allocations: 0 / 0.7898 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000489/0.2994, allocations: 91.84 kB / 0.7899 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.2994, allocations: 19.97 kB / 0.7899 GB, free: 6.363 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.0001409/0.2996, allocations: 133.8 kB / 0.79 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.2996, allocations: 11.84 kB / 0.79 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.281e-05/0.2997, allocations: 16.78 kB / 0.7901 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2997, allocations: 7.938 kB / 0.7901 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2997, allocations: 0 / 0.7901 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2997, allocations: 7.984 kB / 0.7901 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.2999, allocations: 221.5 kB / 0.7903 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2999, allocations: 3.938 kB / 0.7903 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/0.2999, allocations: 11.98 kB / 0.7903 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2999, allocations: 0 / 0.7903 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.3, allocations: 7.938 kB / 0.7903 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3, allocations: 0 / 0.7903 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3, allocations: 0 / 0.7903 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.3002, allocations: 157 kB / 0.7904 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.3003, allocations: 100.8 kB / 0.7905 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.3003, allocations: 7.938 kB / 0.7906 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.245e-05/0.3003, allocations: 7.984 kB / 0.7906 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.3004, allocations: 8 kB / 0.7906 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.3004, allocations: 7.984 kB / 0.7906 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.928e-05/0.3005, allocations: 117.4 kB / 0.7907 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3005, allocations: 0 / 0.7907 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002783/0.3008, allocations: 48 kB / 0.7907 GB, free: 5.406 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.0001614/0.3009, allocations: 107.2 kB / 0.7908 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004994/0.3014, allocations: 394 kB / 0.7912 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3014, allocations: 0 / 0.7912 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.046e-05/0.3015, allocations: 47.92 kB / 0.7913 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.3018, allocations: 24.36 kB / 0.7913 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.3023, allocations: 275.5 kB / 0.7915 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.3026, allocations: 0.7123 MB / 0.7922 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.27e-05/0.3026, allocations: 12.66 kB / 0.7923 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/0.3027, allocations: 15.42 kB / 0.7923 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.3027, allocations: 0 / 0.7923 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of Templates: time 0.00546/0.3081, allocations: 2.794 MB / 0.795 GB, free: 0.9844 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)